Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » Stop-Service

Stop-Service - Powershell 3.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 »

Stop-Service

Short description
Stops one or more running services.

Syntax
Stop-Service [-InputObject] <ServiceController[]> [-Exclude <String[]>] [-Force] [-Include <String[]>] [-PassThru] [-Co
nfirm] [-WhatIf] [<CommonParameters>]
Stop-Service [-Exclude <String[]>] [-Force] [-Include <String[]>] [-PassThru] -DisplayName <String[]> [-Confirm] [-What
If] [<CommonParameters>]
Stop-Service [-Name] <String[]> [-Exclude <String[]>] [-Force] [-Include <String[]>] [-PassThru] [-Confirm] [-WhatIf] [
<CommonParameters>]





Description
The Stop-Service cmdlet sends a stop message to the Windows Service Controller for each of the specified services. You 
can specify the services by their service names or display names, or you can use the InputObject parameter to pass a se
rvice object representing the services that you want to stop.