PowerTip of the Day, from PowerShell.com:
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
Thanks to www.powershell.com
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.