Sets the site wide Citrix Group Policy settings for the site.
Import-BrokerDesktopPolicy [-Policy] <Byte> [-LoggingId <Guid>] [-AdminAddress <String>] [-BearerToken <String>] [<CommonParameters>]
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.
|Name||Description||Required?||Pipeline Input||Default Value|
|Policy||The configuration data containing the Citrix Group Policy settings to apply to every machine in the site.||true||true (ByValue)|
|LoggingId||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.||false||false|
|AdminAddress||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.||false||false||Localhost. Once a value is provided by any cmdlet, this value will become the default.|
|BearerToken||Specifies the bearer token assigned to the calling user||false||false|
The configuration data as an opaque binary blob.
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.
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.