Advertisement
PC_Aide

Find KB1234567 (HotfixID) in cmd or Powershell.ps1

Feb 2nd, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <#
  2. -------------------------------------------------------------------------------------------------------------------------
  3.     SRC:
  4.     Describe -> KB<7 digits> or hotfixID --> E.g. KB1234567
  5. -------------------------------------------------------------------------------------------------------------------------
  6. #>
  7.  
  8. #Powershell
  9. Get-wmiObject -query 'select * from win32_quickFixEngineering' | select-object description,HotFixID
  10. #O/P: https://imgur.com/a/dbMBP0a
  11.  
  12. #WildCard *
  13. Get-wmiObject -query 'select * from win32_quickFixEngineering' | select-object *
  14. #O/P: https://imgur.com/a/mGcvnMV
  15.  
  16. #cmd
  17. wmic qfe | findstr /i kb*
  18. #O/P: https://imgur.com/a/H6PROLr
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement