Thursday, November 8, 2012

Comparing installed hotfixes on Windows Server using PowerShell

I recently had to track down a configuration issue between our production and dev environments. One of the first things that I looked at were installed hotfixes. Since we have a lot of dev machines that are supposed to mirror production, I decided to whip up a little PowerShell script to compare the installed hotfixes of the two servers.

You should run this script as a user that is an administrator on both machines, or use the -Credential parameter of the Get-HotFix cmdlet.

No comments:

Post a Comment