I want to find and uninstall a windows service. how can I accomplish this using powrshell script?
(Get-WmiObject Win32_Service -filter "name='<service_name>'").Delete()
For more information:
Delete method of the Win32_Service class
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
2 years ago