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.

Release Server

Releases a server from a resource pool if acquired previously in the execution.

Script usage:

Release-Server(
	Server: <text>,
	[Role: <text>],
	[Verbose: <true/false>]
);

This operation may be prefixed with Core::, although this is a built-in namespace and isn't really necessary.

Arguments:

NameFormatScript UsageUsage Notes
Server name (default)
text
Server
This argument is required.
Server role
text
Role
Value note: "global".
Log verbose
true/false
Verbose

Example:

# releases a server acquired earlier
Acquire-Server( 
   Role: build-servers,
   ServerName => $AcquiredServerName
);

# ...

Release-Server( 
   Role: build-servers,
   Server: $AcquiredServerName
);