Capturing Windows Update Logs

We have been working on writing a script to capture Windows Update logs. We are stuck with about 190 endpoints that are failing the feature update to 1809. We’re looking to run the PowerShell command to gather the logs.

This command is “Get-WindowsUpdateLog”

I have written several BF tasks to run this using a saved PS1, run a direct powershell.exe command and running variations using “Runascurrentuser.exe” and we have had zero success with anything we have tried. Here is an example of what we have run:

folder create "C:\WindowsLog"
waithidden powershell.exe “Get-WindowsUpdateLog -LogPath C:\WindowsLogs$env:computername.log”

Hi

Have you looked at the “archive now” command i the actionscript. This allows you to upload the log files to the BigFix root server.

http://support.bigfix.com/product/documents/Upload_Archive_Manager_80_101211.pdf

1 Like