@AllServers
  • 14 May 2021
  • 1 Minute to read
  • Dark
    Light
  • PDF

@AllServers

  • Dark
    Light
  • PDF

Article Summary

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.

@AllServers

Returns a list of all servers.

Script usage:

@AllServers([IncludeInactive])

Parameters:

NameDescription
IncludeInactiveIf true, include servers marked as inactive.

Example:

# log all servers in context to the execution log
foreach $Server in @AllServers
{
    Log-Information $Server;
}

Was this article helpful?

What's Next