---
title: "@AllServers"
---
Returns a list of all servers.
@AllServers([IncludeInactive])
Name | Description |
---|---|
IncludeInactive | If true, include servers marked as inactive. |
# log all servers in context to the execution log
foreach $Server in @AllServers
{
Log-Information $Server;
}