Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Restart-Service

Restart-Service - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Restart-Service

Short description
Stops and then starts one or more services.

Syntax


Description
The Restart-Service cmdlet sends a stop message and then a start message to the Windows Service Controller for a 
specified service. If a service was already stopped, it is started without notifying you of an error. You can specify 
the services by their service names or display names, or you can use the InputObject parameter to pass an object that 
represents each service that you want to restart.