top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to Start Service Using Powershell Commands?

+4 votes
243 views
How to Start Service Using Powershell Commands?
posted Feb 21, 2014 by Prachi Agarwal

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

The Start-Service cmdlet is used for starting a service that is currently stopped. To start a service, simply call Start-Service followed by the service name (that is, the name of the service as stored in the registry):

The following syntax stops a service: Stop-Service [-name] or Stop-Service [-displayName].

Get-Service -name Browser <enter>
Stop-Service -name Browser <enter>
Get-Service -name Browser <enter>

The following syntax will start a service: Start-Service [-name] or Start-Service [-displayName].

Get-Service -name Browser <enter>
Start-Service -name Browser <enter>
Get-Service -name Browser <enter>
answer Feb 23, 2014 by Amit Kumar Pandey
...