When you list services with Get-Service, you will find that a lot of properties may seem to be missing. You can still set such properties when you pipe a service to Set-Service. The following code will change the start mode of the Spooler service (provided you have sufficient privileges):
Get-Service spooler | Set-Service -StartupType Automatic
ReTweet this Tip!
Mar 04 2011, 08:00 AM