Citrix Virtual Apps and Desktops SDK

Export-BrokerDesktopPolicy

Gets the policies of a policy set as a byte array.

Syntax

Export-BrokerDesktopPolicy
      [-PolicySetGuid <Guid>]
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->

Description

Export-BrokerDesktopPolicy returns an array of bytes containing the policies in a policy set.

Examples

EXAMPLE 1

This command exports the policy settings of the policy set.

$policy = Export-BrokerDesktopPolicy
<!--NeedCopy-->

Parameters

-PolicySetGuid

The GUID of the policy set to export. If this is not specified, the data of the site default policy set is exported.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False
Introduced in: Citrix Virtual Apps and Desktop 7 2303

CitrixCommonParameters

This cmdlet supports the common Citrix parameters: -AdminAddress, -AdminClientIP, -BearerToken, -TraceParent, -TraceState and -VirtualSiteId. For more information, see about_CitrixCommonParameters.

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 can’t pipe objects to this cmdlet.

Outputs

Byte[]

The configuration data as an opaque binary blob. This will be null if the policy set contains no data.

Export-BrokerDesktopPolicy