Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Start Site

Starts an IIS Site.

Script usage:

IIS::Start-Site(
	[WaitForStartedStatus: <true/false>],
	Name: <text>
);

Arguments:

NameFormatScript UsageUsage Notes
Wait for started status
true/false
WaitForStartedStatus
Site (default)
text
Name
The name of the IIS site to operate on. This argument is required.

Example:


# stops the BuildMaster web site 
IIS::Stop-Site BuildMaster;

# starts the BuildMaster web site
IIS::Start-Site BuildMaster;