Export-BrokerDesktopPolicy¶
Gets the policies of a policy set as a byte array.
Syntax¶
Export-BrokerDesktopPolicy [-PolicySetGuid <Guid>] [-AdminAddress <String>] [-BearerToken <String>] [-AdminClientIP <String>] [-TraceParent <String>] [-TraceState <String>] [-VirtualSiteId <String>] [<CommonParameters>]
Detailed Description¶
Export-BrokerDesktopPolicy returns an array of bytes containing the policies in a policy set.
Related Commands¶
Parameters¶
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
PolicySetGuid | The GUID of the policy set to export. If this is not specified, the data of the site default policy set is exported. | 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 | |
AdminClientIP | Internal use only. | false | false | |
TraceParent | Specifies the trace parent assigned for internal diagnostic tracing use | false | false | |
TraceState | Specifies the trace state assigned for internal diagnostic tracing use | false | false | |
VirtualSiteId | Specifies the virtual site the PowerShell snap-in will connect to. | false | false |
Input Type¶
None¶
Return Values¶
System.Byte[]¶
The configuration data as an opaque binary blob. This will be null if the policy set contains no data.
Examples¶
Example 1¶
C:\PS> $policy = Export-BrokerDesktopPolicy
Description¶
This command exports the policy settings of the policy set.