Stop Site
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

Stop Site

  • Dark
    Light
  • PDF

This is generated from the built in components of BuildMaster 7.0.0, and may be different than what you have installed (especially if you have extensions); go to [User Icon] -> Documentation within your BuildMaster instance to see exactly what operations are available.

Stop Site

Stops an IIS Site.

Script usage:

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

Arguments:

NameFormatScript UsageUsage Notes
Wait for stopped status
true/false
WaitForStoppedStatus
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;

Was this article helpful?