-
-
Cloud Connector Standalone Citrix Secure Ticketing Authority (STA) service
-
-
-
-
-
Prioritize policies
-
-
This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
Prioritize policies
Note:
Starting with version 2511, Citrix Web Studio™ (web-based) is the only management console for Citrix Virtual Apps and Desktops™. Citrix Studio (MMC-based) has been removed from the installer. This article applies only to Web Studio. For information about Citrix Studio, see the equivalent article in Citrix Virtual Apps and Desktops 7 2212 or earlier.
When multiple policies apply to a connection, Citrix Virtual Apps and Desktops™ evaluates them in priority order. A lower number means a higher priority (1 is the highest). When conflicting settings exist across policies, the setting from the highest-priority policy takes effect.
You can change policy priority using Web Studio or PowerShell.
Change policy priority using Web Studio
- In Web Studio, select Policies in the left pane.
- On the Policies tab, select Change Policy Priorities from the action bar.
-
On the Change Policy Priorities page, reorder policies using any of the following methods:
- Drag a policy to a desired position.
- Click the Up or Down arrow icon to move it one position.
- Click the Top or Bottom arrow icon to move it to the first or last position.
- Click the Edit icon, enter a priority number, and then click Save.
- Click Save to apply changes.
Change policy priority using PowerShell
Use the Set-GpoPolicyPriority.ps1 script to programmatically reorder policy priorities. The script accepts a policy name and a target priority number, resolves policy GUIDs internally, and applies the updated order using Set-BrokerGpoPolicyPriorities. Use this approach when you manage policy priorities through automation instead of the Web Studio console.
The native Set-BrokerGpoPolicyPriorities cmdlet requires a fully ordered list of policy GUIDs. This script removes that complexity by accepting a policy name and desired priority, then handling GUID resolution automatically.
Before you begin
Make sure you meet these requirements before you run the script:
- A supported version of Citrix Virtual Apps and Desktops with the Broker SDK installed
- The script must run on a Delivery Controller™ with the Citrix Broker SDK installed
- PowerShell snap-in:
Citrix.Broker.Admin.V2(loaded automatically by the script)
Run the script
- Copy
Set-GpoPolicyPriority.ps1to the Delivery Controller. - Open a PowerShell session on the Delivery Controller.
-
Run the script with the required parameters.
.\Set-GpoPolicyPriority.ps1 -PolicyName "<PolicyName>" -NewPriority <Number> <!--NeedCopy-->Replace
<PolicyName>with the name of the policy and<Number>with the target priority.
The script outputs the current and target priority, confirms the change, and runs a verification step. Add -Verbose for a detailed view of the reorder before the script applies it.
Parameters
| Parameter | Required | Description |
|---|---|---|
-PolicyName |
Yes | Name of the policy to reprioritize |
-NewPriority |
Yes | Target priority (1 = highest). Use 0 or a negative number to move the policy to the highest position; use a number exceeding the policy count to move it to the lowest position |
-PolicySetGuid |
No | GUID of a specific policy set. Omit to target DefaultSitePolicies
|
Examples
Set a policy to the highest priority in the default policy set:
.\Set-GpoPolicyPriority.ps1 -PolicyName "MyPolicy" -NewPriority 1
<!--NeedCopy-->
Set a policy to the lowest priority:
.\Set-GpoPolicyPriority.ps1 -PolicyName "MyPolicy" -NewPriority 9999
<!--NeedCopy-->
Set a policy to priority 5 in a specific policy set:
.\Set-GpoPolicyPriority.ps1 -PolicyName "MyPolicy" -NewPriority 5 -PolicySetGuid "12345678-1234-1234-1234-123456789012"
<!--NeedCopy-->
Share
Share
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.