如果我在我的系统上运行“系统配置”(msconfig.exe),我会看到三个条目。
- 平行工具
- 爪哇和
- 投递箱
但是,如果我运行以下 powershell 脚本:
$computer = "LocalHost"
$namespace = "root\CIMV2"
$results = Get-WmiObject -class Win32_StartupCommand -computername $computer -namespace $namespace
我只得到 Dropbox 条目。Win32_StartupCommand 不应该显示所有条目吗?