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!
ポリシーの優先順位付け
注:
バージョン2511以降、Citrix Web Studio™(Webベース)はCitrix Virtual Apps and Desktops™の唯一の管理コンソールです。Citrix Studio(MMCベース)はインストーラーから削除されました。この記事はWeb Studioにのみ適用されます。Citrix Studioに関する情報については、Citrix Virtual Apps and Desktops 7 2212以前の同等の記事を参照してください。
複数のポリシーが接続に適用される場合、Citrix Virtual Apps and Desktops™はそれらを優先順位に従って評価します。数値が小さいほど優先順位が高くなります(1が最高です)。ポリシー間で競合する設定が存在する場合、最も優先順位の高いポリシーの設定が適用されます。
Web StudioまたはPowerShellを使用してポリシーの優先順位を変更できます。
Web Studioを使用してポリシーの優先順位を変更する
- Web Studioで、左ペインのポリシーを選択します。
- ポリシータブで、アクションバーからポリシーの優先順位の変更を選択します。
-
ポリシーの優先順位の変更ページで、以下のいずれかの方法を使用してポリシーの順序を変更します。
- ポリシーを目的の位置にドラッグします。
- 上または下の矢印アイコンをクリックして、1つ位置を移動します。
- 一番上または一番下の矢印アイコンをクリックして、最初または最後の位置に移動します。
- 編集アイコンをクリックし、優先順位番号を入力して、保存をクリックします。
- 保存をクリックして変更を適用します。
PowerShellを使用してポリシーの優先順位を変更する
Set-GpoPolicyPriority.ps1スクリプトを使用して、ポリシーの優先順位をプログラムで並べ替えます。このスクリプトは、ポリシー名とターゲットの優先順位番号を受け入れ、内部でポリシーGUIDを解決し、Set-BrokerGpoPolicyPrioritiesを使用して更新された順序を適用します。Web Studioコンソールではなく、自動化によってポリシーの優先順位を管理する場合は、このアプローチを使用してください。
ネイティブのSet-BrokerGpoPolicyPrioritiesコマンドレットは、完全に順序付けられたポリシーGUIDのリストを必要とします。このスクリプトは、ポリシー名と目的の優先順位を受け入れることでその複雑さを解消し、GUIDの解決を自動的に処理します。
始める前に
スクリプトを実行する前に、以下の要件を満たしていることを確認してください。
- Broker SDKがインストールされた、サポート対象のCitrix Virtual Apps and Desktopsのバージョン
- スクリプトは、Citrix Broker SDKがインストールされたDelivery Controller™で実行する必要があります
- PowerShellスナップイン:
Citrix.Broker.Admin.V2(スクリプトによって自動的にロードされます)
スクリプトを実行する
-
Set-GpoPolicyPriority.ps1をDelivery Controllerにコピーします。 - Delivery ControllerでPowerShellセッションを開きます。
-
必要なパラメーターを指定してスクリプトを実行します。
.\Set-GpoPolicyPriority.ps1 -PolicyName "<PolicyName>" -NewPriority <Number> <!--NeedCopy--><PolicyName>をポリシー名に、<Number>をターゲットの優先順位に置き換えます。
スクリプトは、現在の優先順位とターゲットの優先順位を出力し、変更を確認し、検証ステップを実行します。スクリプトが適用する前に並べ替えの詳細を表示するには、-Verboseを追加します。
パラメーター
| パラメーター | 必須 | 説明 |
|---|---|---|
-PolicyName |
はい | 優先順位を変更するポリシーの名前 |
-NewPriority |
はい | ターゲットの優先順位 (1 = 最高)。ポリシーを最高位に移動するには0または負の数を使用し、最低位に移動するにはポリシー数を超える数を使用します。 |
-PolicySetGuid |
いいえ | 特定のポリシーセットのGUID。DefaultSitePoliciesをターゲットにする場合は省略します。 |
例
デフォルトのポリシーセットでポリシーを最高の優先順位に設定します。
.\Set-GpoPolicyPriority.ps1 -PolicyName "MyPolicy" -NewPriority 1
<!--NeedCopy-->
ポリシーを最低の優先順位に設定します。
.\Set-GpoPolicyPriority.ps1 -PolicyName "MyPolicy" -NewPriority 9999
<!--NeedCopy-->
特定のポリシーセットでポリシーを優先順位5に設定します。
.\Set-GpoPolicyPriority.ps1 -PolicyName "MyPolicy" -NewPriority 5 -PolicySetGuid "12345678-1234-1234-1234-123456789012"
<!--NeedCopy-->
共有
共有
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.