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

1 comments:

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

Post a Comment

Popular Posts

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More