Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Start-Service

Start-Service - Powershell 2.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.


Short description
Starts one or more stopped services.

Start-Service [-Name] <string[]> [-Exclude <string[]>] [-Include <string[]>] [-PassThru] [-Confirm] [-WhatIf] [<Com

Start-Service -DisplayName <string[]> [-Exclude <string[]>] [-Include <string[]>] [-PassThru] [-Confirm] [-WhatIf] 

Start-Service [-InputObject <ServiceController[]>] [-Exclude <string[]>] [-Include <string[]>] [-PassThru] [-Confir
m] [-WhatIf] [<CommonParameters>]

The Start-Service cmdlet sends a start message to the Windows Service Controller for each of the specified services
. If a service is already running, the message is ignored without error. You can specify the services by their serv
ice names or display names, or you can use the InputObject parameter to supply a service object representing the se
rvices that you want to start.