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
Cybrary SOC Analyst Level 1