Periodically decode contents of WindowsUpdate.log - Windows NOT WORKING
| 0 Votes |
Versioning - This is the latest version.
| 1 | Periodically decode contents of WindowsUpdate.log - Windows NOT WORKING | 3/29/2016 12:22:18 PM |
| 2 | Periodically decode contents of WindowsUpdate.log - Windows NOT WORKING | 3/29/2016 1:52:50 PM |
Description
Property Details
| 10608 | |
| Alpha - Code that was just developed | |
| Periodically decode contents of WindowsUpdate.log - Windows NOT WORKING | |
| BESC | |
| Internal | |
| jgstew | |
| 3/29/2016 12:00:00 AM | |
| True | |
| jgstew on 3/29/2016 1:52:50 PM | |
| jgstew on 3/29/2016 1:52:50 PM | |
| 8111 Views / 77 Downloads | |
* Average over 0 ratings.
** Log In or Register to add your rating.
|
Relevance
Windows Only (Relevance 2997197)
/* Windows Only */ windows of operating system
/* Windows XP or Higher */ version of operating system >= "5.1"
| Used in 3 fixlets | * Results in a true/false |
exists file ((it as string) of value "Path" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" of native registry)
WindowsUpdate.log needs processed using PowerShell (Relevance 3006425)
| Used in 2 fixlets | * Results in a "string"/number |
exists lines containing "Get-WindowsUpdateLog PowerShell" of files "WindowsUpdate.log" of windows folders
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
parameter "LogLocation" = "{ pathname of folders "Logs" of folders "__Global" of data folders of clients }"
parameter "SymLocation" = "{ pathname of items 1 of it whose(item 0 of it = maximum of modification times of files "wuapi.mof" of item 1 of it) of (it, folders "WindowsUpdateLog\SymCache" of ( folders "AppData\Local\Temp" of folders of folders "C:\Users" ) ) of maximum of modification times of files "wuapi.mof" of folders "WindowsUpdateLog\SymCache" of ( folders "AppData\Local\Temp" of folders of folders "C:\Users" ) }"
// https://technet.microsoft.com/en-us/library/mt238376.aspx
// http://powershell-guru.com/dont-19-use-double-quotes-escape-characters/
// https://msdn.microsoft.com/en-us/library/windows/desktop/ee416588(v=vs.85).aspx#symbol_servers
waithidden powershell -ExecutionPolicy Bypass -command "Get-WindowsUpdateLog -SymbolServer '{ parameter "SymLocation" }' -LogPath '{ parameter "LogLocation" }\WindowsUpdate.log'"
// http://answers.microsoft.com/en-us/windows/forum/windows_10-update/windowsupdatelog-unreadable/2e6b05ed-ac91-4186-a362-c6b5a7e42911?auth=1
// It seems like you can specify a folder for -SymbolServer :
// Get-WindowsUpdateLog -SymbolServer C:\Users\user\Documents\MySymbols
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
| Social Media: |
Comments
|
|
|
| https://chentiangemalc.wordpress.com/2015/09/03/debugging-viewing-windows-update-log-on-windows-10-insider-builds/ | |

