Get-XDSite

Last published : Oct 31, 2026
Gets the attributes of a Site.

Syntax

Get-XDSite
   [-AdminAddress <String>]
   [<CommonParameters>]

Description

Gets the attributes of the Site which has a Controller identified by AdminAddress.

Examples

EXAMPLE 1

Gets the attributes of the Site which has a Controller identified by MySiteController.
Get-XDSite -AdminAddress MySiteController

Parameters

-AdminAddress

Specifies the address of the Delivery Controller to which the PowerShell module will connect. This can be provided as a host name or an IP address.
Type: String
Position: Named
Default value: Localhost. Once a value is provided by any cmdlet, this value will become the default.
Required: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

You cannot pipe input into this cmdlet.

Outputs

Citrix.XenDesktopPowerShellSdk.ServiceInterfaces.Configuration.Site

This includes the name of the Site, the Controllers in Site, the Databases supporting the Site, the licensing configuration of the Site and the default Icon for the Site.