Citrix Virtual Apps and Desktops 2411 SDK

Remove-XDSite

Removes the XenDesktop Site.

Syntax

Remove-XDSite
      [-AdminAddress <String>]
      [<CommonParameters>]
<!--NeedCopy-->

Description

This cmdlet can be executed only when there is one remaining Controller in the Site. It removes the Site by removing the last Controller from the Site.

The person running this command must be a the local administrator on the last Controller in this Site.

Examples

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 to this cmdlet.

Outputs

None

By default, this cmdlet returns no output.

Remove-XDSite