---
title: "Start Windows Service"
---
Starts an existing Windows service.
Windows::Start-Service(
	Name: <text>,
	[WaitForRunningStatus: <true/false>],
	[FailIfServiceDoesNotExist: <true/false>]
);
| Name | Format | Script Usage | Usage Notes | 
|---|---|---|---|
| ☆ Service name (default) | text | Name | This argument is required. | 
| Wait for running status | true/false | WaitForRunningStatus | |
| Fail if service does not exist | true/false | FailIfServiceDoesNotExist | 
# starts the FOOBAR service on the remote server
Start-Service FOOBAR;