Removes/deletes a service.
Uninstall-Service [-Name] <String> [-WhatIf] [-Confirm] [<CommonParameters>]
Removes an existing Windows service. If the service doesn't exist, nothing happens. The service is stopped before being deleted, so that the computer doesn't need to be restarted for the removal to complete. Even then, sometimes it won't go away until a reboot. I don't get it either.
|Name||Type||Description||Required?||Pipeline Input||Default Value|
The service name to delete.
|CommonParameters||This cmdlet supports common parameters. For more information type
Uninstall-Service -Name DeathStar
Removes the Death Star Windows service. It is destro..., er, stopped first, then destro..., er, deleted. If only the rebels weren't using Linux!