---
title: "Release Server"
---
Releases a server from a resource pool if acquired previously in the execution.
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.
Name | Format | Script Usage | Usage Notes |
---|---|---|---|
☆ Server name (default) | text | Server | This argument is required. |
Server role | text | Role | Value note: "global". |
Log verbose | true/false | Verbose |
# releases a server acquired earlier
Acquire-Server(
Role: build-servers,
ServerName => $AcquiredServerName
);
# ...
Release-Server(
Role: build-servers,
Server: $AcquiredServerName
);