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!
升级后删除已弃用的策略设置
当 Citrix® 弃用产品组件时,其关联的策略设置将变为无效。升级后,使用 GpoClean.ps1 识别并从 Citrix Virtual Apps and Desktops™ 策略中删除这些已弃用的设置,包括因此而变为空的任何策略。
开始之前
运行脚本之前,请确保满足以下要求:
- 受支持的 Citrix 虚拟应用和桌面 版本,并安装了 Broker SDK 和 组策略管理
- 在 交付控制器™ 上具有 Citrix 策略管理权限
注意:
脚本会自动加载
Citrix.Broker.Admin.V2和Citrix.Common.GroupPolicy管理单元。
删除已弃用的策略设置
运行 GpoClean.ps1 以删除已弃用的策略设置:
- 将
GpoClean.ps1复制到您具有 Citrix 策略管理 权限的交付控制器。 - 在交付控制器上打开 PowerShell 会话。
-
运行脚本。无需任何参数。
.\GpoClean.ps1 <!--NeedCopy-->注意:
添加
-Verbose以获取详细的逐设置日志记录:.\GpoClean.ps1 -Verbose。
该脚本分两个阶段运行:
| 阶段 | 发生什么 |
|---|---|
| 阶段 1 | 运行 Test-BrokerDesktopPolicy,识别 DeprecatedSetting 错误,并将每个受影响的设置设置为 NotConfigured
|
| 阶段 2 | 重新运行 Test-BrokerDesktopPolicy,识别没有配置设置的策略 (PolicyHasNoSettings),并将其删除 |
所有更改都通过一次写入操作保存。摘要报告已删除的设置和策略的数量。如果未找到已弃用的设置,脚本将退出,不进行任何更改。
注意:
- 即使
Unfiltered策略不包含任何配置设置,也永远不会将其删除。
相关内容
有关每个版本中已弃用设置的更多信息,请参阅策略更改。
共享
共享
在本文中
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.