Determining Service Start Mode

by Mar 2, 2011

By using WMI, you can
enumerate the start mode that you want your services to use. To get a list of
all services, try this:

Get-WMIObject Win32_Service | Select-Object Name, StartMode

 

If you want to find out the start mode of one specific service, try this instead:

([wmi]'Win32_Service.Name="Spooler"').StartMode

 

Twitter This Tip!
ReTweet this Tip!