PowerShell - Get Installed KBs Remote Server
- Jon Boyette
- Sep 28, 2022
- 1 min read
Save as a Get-KB-RemoteServer.ps1 or similar, this prompts for server name, and lists all the KBs that are installed to a temp csv report, lists Description, HotFixID, InstalledOn
$a = Read-Host "Enter ServerName to Get KB Installed Information"
Get-WmiObject -Computername $a -Class Win32_QuickFixEngineering | Select-Object -Property Description, HotFixID, InstalledOn | Format-Table -Autosize | Out-File C:\Temp\KBInfo.csv -Encoding utf8
Comments