Get-Hotfix Powershell to find Patches installed on Specific Date.

Get-Hotfix Powershell Command to find Patches installed on Specific Date.

There was a request to verify the list of servers if those were patched recently. I succeeded in verifying the servers using the below powershell command.

get-hotfix -CN “Server1″,”Server2″,”Server3” -CRED “Domain\username” | select csname,hotfixid,installedon,description,installedby | where {$_.installedon -gt “8/1/2017”} | Sort-Object csname | format-table

Thanks,
WintelAdmin

Facebook Comments
Print Friendly
Filed under: Powershell (Tutorial), Windows(2003/2008/2012)Tagged with: , , , , ,

No comment yet, add your voice below!


Add a Comment

Your email address will not be published. Required fields are marked *

Comment *

Name *
Email *
Website