Skip to content

Instantly share code, notes, and snippets.

Last active Mar 9, 2021
What would you like to do?
get-hotfix2 correct missing intalledon date of get-hotfix cmdlet (credits to
function get-hotfix2{
Get-HotFix @PSBOundParameters |
Select-Object description,hotfixid,installedby, @{l="InstalledOn";e={[DateTime]::Parse($["installedon"].value,$([System.Globalization.CultureInfo]::GetCultureInfo("en-US")))}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment