Powershell 相當於「msconfig」?

Powershell 相當於「msconfig」?

我使用“msconfig”來控制啟動時啟動哪些程式(等等)-是否有 powershell 方法可以執行相同的操作?

我試過:

get-help startup

這會帶來:

Register-PSSessionConfiguration
Get-PSSessionConfiguration     
Set-PSSessionConfiguration     
Enable-PSRemoting              
New-PSSessionConfigurationFile 
New-Service                    
Set-Service                    
Set-WmiInstance                
about_PowerShell.exe           
about_Remote_FAQ               
about_Remote_Troubleshooting   
about_Windows_RT               
about_WS-Management_Cmdlets

我只想要一個 Powershell 列表,它相當於“msconfig.exe”(“系統配置”)啟動選項卡中顯示的內容。

我使用的是 Windows 7,附有 Powershell 4.0。

答案1

沒有這樣的內建功能,但您可以使用自動運作模組:

AutoRuns 是一個模組,可協助進行即時事件回應並枚舉自動運行工件,合法程式和惡意軟體可能會使用這些工件來實現持久性

相關內容