Check live log in PowerShell BigFix ,This command for Windows machine only.
Open PowerShell :
Get-Content “C:\Program Files (x86)\BigFix Enterprise\BES Client__BESData__Global\Logs\XXX.log” -tail 4 -wait
Where XXX :: current date log file name
Suppose today 9th Dec 2021 than BigFix logfile name 20211209
Once you initiate any task from BigFix in client machine , then through this command check live status in host machine via this.
1 Like
SLB
December 14, 2021, 12:42am
2
Nice tip. You could make this a bit more dynamic by parsing the current date to automatically populate the filename of the current log.
Get-content (${env:ProgramFiles(x86)}+'\BigFix Enterprise\BES Client\__BESData\__Global\Logs\' + (get-date -uformat '%Y%m%d.log')) -tail 4 -wait
Of course assuming the client is using the default paths, otherwise you could probably pull the path from the image path of the service in that scenario.
1 Like