---
title: "Start Site"
---
Starts an IIS Site.
IIS::Start-Site(
[WaitForStartedStatus: <true/false>],
Name: <text>
);
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
Wait for started status | true/false | WaitForStartedStatus | Default value is "True". |
☆ Site (default) | text | Name | The name of the IIS site to operate on. This argument is required. |
# stops the BuildMaster web site
IIS::Stop-Site BuildMaster;
# starts the BuildMaster web site
IIS::Start-Site BuildMaster;