Yesterday I sent out a tip about querying to see if a hotfix is installed by using SYSTEMINFO. And while I did already sent a tip some time ago about how to do this using Windows PowerShell, I wanted to share some of the ideas that people sent in response.
Get-Hotfix | Select HotFixID,InstalledOn | Sort-Object –Descending –Property InstalledOn | Out-File –FilePath “.\SERVERNAME-HotFixes.txt” –Append
For the ones who favor PowerShell in front of cmd.exe…
Get-hotfix quickly became my choice since Server 2012 got out. And autocomplete in PowerShell takes away, to a large extent, the need to remember syntax.