Citrix Daas SDK

Set-BrokerGpoPolicyPriorities

Changes the priorities of policies in a GPO policy set.

Syntax

Set-BrokerGpoPolicyPriorities
   [-PolicySetGuid <Guid>]
   [-PolicyGuids] <Guid[]>
   [-LoggingId <Guid>]
   [<CitrixCommonParameters>]
   [<CommonParameters>]
<!--NeedCopy-->

Description

The Set-BrokerGpoPolicyPriorities cmdlet is used to change the priorities of the policies in a policy set. The input must be an array of GUIDs and it must be the complete set of all policy GUIDs in the policy set and there must be no duplications of GUIDs in the input.

Examples

EXAMPLE 1

Set the new policy priority order.

Set-BrokerGpoPolicyPriorities -PolicyGuids @("abcdef12-...", "12345678-...")
<!--NeedCopy-->

Parameters

-PolicyGuids

The list GUIDS of all the policies in the policy set. The order of the GUIDs indicate the new priority oder.

Type: Guid[]
Position: 2
Default value: None
Required: True
Accept pipeline input: False
Accept wildcard characters: False

-PolicySetGuid

The GUID of the policy set that contains the policies. If this is not specified, this means the default site policy set.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-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.

Type: Guid
Position: Named
Default value: None
Required: False
Accept pipeline input: False
Accept wildcard characters: False

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

None

This cmdlet does not generate any output.

Set-BrokerGpoPolicyPriorities