Check Windows Patching

PS> Get-HotFix | Group-Object InstalledOn

PS> $LastPatchDate = (Get-HotFix | Sort-Object InstalledOn -Descending | Select-Object -First 1).InstalledOn; (New-TimeSpan -Start $LastPatchDate -End (Get-Date)).Days

Course Notes

Cybrary SOC Analyst Level 1