Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: Start Automatic Services on Remote machines if stopped

$
0
0

I hadn’t realized that before, but it looks like you’re right. The .NET ServiceController class (which is what Get-Service and Start-Service use) doesn’t provide any information about the startup type for some reason. With that in mind, just stick with WMI. :)


Viewing all articles
Browse latest Browse all 13067

Trending Articles