Windows Knowledge Base

PowerShell command to list startup apps

To list startup apps in PowerShell:
Get-CimInstance Win32_StartupCommand | Select-Object Name, Command, Location, User | Format-List
To write the list of startup apps to a text file:
Get-CimInstance Win32_StartupCommand | Select-Object Name, Command, Location, User | Format-List > C:\startup_audit.txt
To list startup apps in a GUI:
Get-CimInstance Win32_StartupCommand | Select-Object Name, Command, Location, User | Out-GridView