Scripting Blog

A place to learn about PowerShell and share stories of automation

PowerTip: Find Services with the Same Dependencies with PowerShell

Summary: Use Windows PowerShell to find services that have the same dependencies.  How can I use Windows PowerShell to easily find services that have the same dependencies?  Use the Get-Service cmdlet with the RequiredServices parameter, and supply the name of the dependent service. (The following example shows ...

Send an Email Message with Service Status Via PowerShell

Summary: Microsoft Scripting Guy, Ed Wilson, shows how to use Windows PowerShell to send an email message with service status info.  Hey, Scripting Guy! I have a number of services on a remote server that I would like to monitor. I would like to see the status of these services and receive these status updates via an email message. I have...

Use PowerShell to Find Non-Starting Automatic Services

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to troubleshoot non-starting automatic services.  Hey, Scripting Guy! I have this server in a remote office that is running SharePoint. I do not know what version, but I am not certain that is a problem because it used to work. The problem is the workers in ...