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.

@AllServers

Modified on July 26, 2024

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;
}