# Alias: gc = Get-ContentThe Get-Content command is pretty simple. It prints the file specified by its default argument. I shortened the code by using the $env variable to access the systemroot variable path. If your not too familiar with the Environment Provider you can enter the following command to see whats available thru it.
# sls = Select-String
# also using the Environment variable to find the WindowsUpdate.log file
gc $env:systemroot\windowsupdate.log | sls "Fatal"
On my system "SystemRoot" goes to C:\Windows. So $env:systemroot\windowsupdate.log resolves to:
I then pipe the output of the log file to select-string cmdlet and search for any text called "Fatal".
This was probably the easiest of all the games and really didn't take much time to come up with this solution. This challenge was probably the biggest reason why I regret not entering the Advanced Games. 8)