Powershell WMI – Welche Programme starten mit Windows

Powershell WMI

Mit diesem Skript ermitteln wir via WMI welche Programme mit Windows starten.

Powershell anzeigen

$strComputer = “.”

$colItems = get-wmiobject -class “Win32_StartupCommand” -namespace “root\CIMV2” ` -computername $strComputer

foreach ($objItem in $colItems) {      
write-host “Caption: ” $objItem.Caption      
write-host “Command: ” $objItem.Command      
write-host “Description: ” $objItem.Description      
write-host “Location: ” $objItem.Location      
write-host “Name: ” $objItem.Name      
write-host “Setting ID: ” $objItem.SettingID      
write-host “User: ” $objItem.User       write-host
}

Powershell Windows Autostart Programme

https://www.der-windows-papst.de/2018/05/18/dns-und-smtp-toolbox/