Product Documentation


Oct 21, 2016

Sets the site wide Citrix Group Policy settings for the site.


Import-BrokerDesktopPolicy [-Policy] <Byte[]> [-LoggingId <Guid>] [-AdminAddress <String>] [<CommonParameters>]

Detailed Description

Import-BrokerDesktopPolicy sets the site wide Citrix Group Policy settings. A successful call to this cmdlet will result in the supplied data being uploaded to every machine in the site prior to its next session launch.



The configuration data containing the Citrix Group Policy settings to apply to every machine in the site.

Required? true
Default Value  
Accept Pipeline Input? true (ByValue)


Specifies the identifier of the high level operation that this cmdlet call forms a part of. Desktop Studio and Desktop Director typically create High Level Operations. PowerShell scripts can also wrap a series of cmdlet calls in a High Level Operation by way of the Start-LogHighLevelOperation and Stop-LogHighLevelOperation cmdlets.

Required? false
Default Value  
Accept Pipeline Input? false


Specifies the address of a XenDesktop controller that the PowerShell snapin will connect to. This can be provided as a host name or an IP address.

Required? false
Default Value Localhost. Once a value is provided by any cmdlet, this value will become the default.
Accept Pipeline Input? false

Input Type

System.Byte[] The configuration data as an opaque binary blob.

Return Values



Import-BrokerDesktopPolicy performs a specialized operation. Direct usage of it in scripts is discouraged, and could result in data corruption. It is recommended that this operation be performed via the Citrix Studio.


-------------------------- EXAMPLE 1 --------------------------

C:\PS> Import-BrokerDesktopPolicy $policyData

This command sets the Citrix Group Policy settings in the site. These policy settings are then applied to every machine prior to the next session launch.