Patching
#Alle Patches auflisten
Get-WmiObject -query 'select * from win32_quickfixengineering' | foreach {$_.hotfixid}
#Nur "Security Update" auflisten
Get-Hotfix -description "Security update"
#Ist ein spezifischer Patch auf Computer in der angegebenen Liste installiert
$A = Get-Content -Path C:\Temp\input.txt
$A | ForEach-Object { if (!(Get-HotFix -Id KB5008207 -ComputerName $_))
{ Add-Content $_ -Path ./Missing-KB5008207.txt }}