<t>You can use WMI or other tools for this since there is no Remove-Service cmdlet until Powershell 6.0 (See Remove-Service doc)<br/>
<br/>
For example:<br/>
<br/>
$service = Get-WmiObject -Class Win32_Service -Filter "Name='servicename'"<br/>
$service.delete()<br/>
<br/>
```<br/>
<br/>
Or with the `sc.exe` tool:<br/>
<br/>
```<br/>
sc.exe delete ServiceName<br/>
<br/>
```<br/>
<br/>
Finally, if you do have access to PowerShell 6.0:<br/>
<br/>
```<br/>
Remove-Service -Name ServiceName<br/>
<br/>
```</t>