Skip to content

Instantly share code, notes, and snippets.

@bigoals365
Created August 16, 2014 18:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bigoals365/7f6831e5361e507ea007 to your computer and use it in GitHub Desktop.
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
# 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