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:
Purpose:
Start, stop, enable or disable services remotely.
Download:
4 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.
The Ngonyama clan, part of the Zulu culture, carries a strong legacy, with clan names (izithakazelo) that celebrate their history and ancestral pride Ngonyama Clan Names
Post a Comment