PowerShell 技能连载 - 查找自启动项
支持 PowerShell 3 以上版本
If you’d like to know which programs start automatically on your machine, WMI may help:
如果您想了解有多少个程序随着您的机器自动启动,WMI 也许能帮上忙:
1 | PS C:\> Get-CimInstance -ClassName Win32_StartupCommand | Select-Object -Property Name, Location, User, Command, Description |