Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Using Windows PowerShell to Determine Service Launch Order

Summary: The Microsoft Scripting Guys show how to determine service launch order by using Windows PowerShell and WMI in this helpful step-by-step article.   (image) Hey, Scripting Guy! I need to find out the order in which services start on my computer. To properly shut down a computer, the services should stop in reverse order that ...

Hey, Scripting Guy! How Can I Use Windows PowerShell to Stop Services?

(image) (Portions of this blog post previously appeared in the Microsoft Press book, Windows PowerShell Scripting Guide.) (image) Hey, Scripting Guy! I have some services that are running on my computer. I looked them up on TechNet and I do not believe I need them to be running. Is there a way I can write a Windows PowerShell script to ...