Created
August 16, 2014 18:14
-
-
Save bigoals365/7f6831e5361e507ea007 to your computer and use it in GitHub Desktop.
Discovery if your Computer has any or all of the KBs that Microsoft is warning about
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# find_suspect_kbs.ps1 | |
# MS14-045: Description of the security update for kernel-mode drivers: August 12, 2014 | |
# http://support.microsoft.com/kb/2982791 | |
# | |
# http://blogs.technet.com/b/heyscriptingguy/archive/2011/08/22/use-powershell-to-easily-find-information-about-hotfixes.aspx | |
gwmi -cl win32_reliabilityRecords -filter "sourcename = 'Microsoft-Windows-WindowsUpdateClient'" | | |
where { $_.message -match 'KB2982791' -OR $_.message -Match 'KB2970228' -OR $_.message -Match 'KB2975719' -OR $_.message -Match 'KB2975331'} | | |
FT @{LABEL = "date";EXPRESSION = {$_.ConvertToDateTime($_.timegenerated)}}, | |
message -autosize –wrap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment