WMI is the way to do this. Get-WmiObject -Query "Select StartMode From Win32_Service Where Name='winmgmt'".
確定! 回上一頁