Powershell – Get the actual installed dates of hotfixes

The Get-Hotfix cmdlet has a bug in it that does not awlays return the installed date for patches, yet in control panel /Windows update the history will show the actual install date.

this little script “fixes” that

 

NOTE: WinRM is required to be running and ports open or the remote devices firewall

 

 

 

2 thoughts on “Powershell – Get the actual installed dates of hotfixes

  1. Great script.

    You just need one minor amendment to get $Computername to output. Because it’s inside the Scriptblock, it’s out of scope on the remote computer, therefore you need to change it to $Using:Computername – then it’ll work a treat.

Leave a comment

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