PS-Commands/Scripts/Get-WinUpdate.psm1
2024-02-06 15:15:07 +03:00

10 lines
No EOL
292 B
PowerShell

function Get-WinUpdate {
Get-CimInstance Win32_QuickFixEngineering | Sort-Object -Descending InstalledOn | Select-Object HotFixID,
@{
name="InstallDate";expression={
$_.InstalledOn.ToString("dd.MM.yyyy")
}
},
Description,
InstalledBy
}