Citrix Virtual Apps and Desktops SDK

Export-BrokerPolicyTemplates

Gets the site wide Citrix Group Policy templates.

Syntax

Export-BrokerPolicyTemplates
      [<CitrixCommonParameters>]
      [<CommonParameters>]
<!--NeedCopy-->

Description

Export-BrokerPolicyTemplates returns an array of bytes containing the site-wide Citrix Group Policy templates. These templates can be used to create new policies.

Examples

EXAMPLE 1

This command exports the site wide Citrix Group Policy templates.

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

Parameters

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

PSObject

The policy templates data as an opaque binary blob. This will be null if no site wide Citrix Group Policy templates have been created.

Notes

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

Export-BrokerPolicyTemplates