Created
March 24, 2017 15:49
-
-
Save sharepointoscar/4ce9887bab2ff4a431887beb9fc31a04 to your computer and use it in GitHub Desktop.
Deletes a Windows Service by name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gwmi win32_service -filter "name='service_name'").delete() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment