Stop + Start service script wont work

Hello everyone,

Sorry if this is a noob question, but I don’t know what it wrong.

Whenever I run Start-Service command for a specific Windows Service, it just gives me an error – I have replaced the job with “Something” – I’m sure the name is correct. Is it a permission thing or? :

Start-Service : Service “Something” cannot be started due to the following error: Cannot open something service on computer ‘.’.

At C:UsersxxxxDesktopStartMH.ps1:3 char:30

+ Get-Service “Something” | Start-Service

+ ~~~~~~~~~~~~~

+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException

+ FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

submitted by /u/draffy_92
[link] [comments]

Leave a Reply