---
title: "@ServersInRole"
---
Returns a list of servers in the specified role.
@ServersInRole([RoleName], [IncludeInactive])
Name | Description |
---|---|
RoleName | The name of the server role. If not supplied, the current role in context will be used. |
IncludeInactive | If true, include servers marked as inactive. |