Saturday, October 14, 2017

For those that needed to get Windows Update log using powershell with the cmd-let “Get-WindowsUpdateLog” there was a really annoying issue to read this “compiled log”.

Basically what happened was that after you run the cmd-let, and you opened the log file you’ll noticed that the formatting was completely a mess typically because the symbols weren’t there. That was usually a temporary situation, waiting for the symbols to be uploaded to a server and indexed.

Well….but if, for example, you were troubleshooting a machine that need to be out of the network? Than you’ll never get the correct formatting for the log file unless you copied it to a connect machine.

Now, with Windows 10 Fall Creators Update (v1710) or if you’re a Windows Insider with at least v1709, this issue was completely “fixed".This means that running “Get-WindowsUpdateLog” you’ll automatically format the log file, without the need to have any network connection.

Here’s an example on how the log file looks with automatic formatting even without network: