Hugo playground
This page is for playing with the Hugo framework
Get latest Windows Update install date
# PowerShell script to get the latest Windows update timestamp
$UpdateHistory = Get-WmiObject -Class "Win32_QuickFixEngineering" | Sort-Object -Property InstalledOn -Descending
if ($UpdateHistory) {
$LatestUpdate = $UpdateHistory[0]
Write-Host "Latest Windows Update installed on: $($LatestUpdate.InstalledOn)"
} else {
Write-Host "No updates found."
}
