Determining Service Start Modes

by Nov 30, 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!