In order to enable and disable services in PowerShell, it is important to edit the ServieName for example-

To start the service: Set-Services ServiceName- Startup Type Automatic

To delete the services: Set- Service ServiceName-Startup Type Disabled

BY Best Interview Question ON 21 Sep 2019

Suggest An Answer