@ServersInRoleAndEnvironment
- 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
@ServersInRoleAndEnvironment
- Updated on 14 May 2021
- 1 Minute to read
- Print
- DarkLight
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
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.
@ServersInRoleAndEnvironment
Returns a list of all the servers in the specified role and environment name.
Script usage:
@ServersInRoleAndEnvironment([RoleName], [EnvironmentName], [IncludeInactive])
Parameters:
Name | Description |
---|---|
RoleName | The name of the server role. If not supplied, the current role in context will be used. |
EnvironmentName | The name of the evironment. If not supplied, the current environment in context will be used. |
IncludeInactive | If true, include servers marked as inactive. |
Was this article helpful?