Monday, May 30, 2011

Stop, Start, Disable Service Remotely–PowerShell Script

I have updated one of old Powershell scripts (http://portal.sivarajan.com/2010/07/stopstart-or-enabledisable-service.html) based on a comment posted on my blog.  You can also check the status of service by verifying the $result.ReturnValue value.  The Win32_Service Class reference can be found in the following location:

http://msdn.microsoft.com/en-us/library/aa393673(v=vs.85).aspx

Script:

image

Purpose:

Start, stop, enable or disable services remotely. 

Download:

www.sivarajan.com

3 comments:

If i want to execute the script for multiple service can you had a inputservice files csv ?

Thank you for this post! Also, go to my blog and check my articles!

The CBD hemp oil is an indispensable aid today. It is used to support affordable cbd oil natural defenses, protect the heart, healthy skin, normal blood sugar levels.

Post a Comment

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More