-
-
-
通过命令行生成自定义脚本以安装或升级 VDA
-
Cloud Connector 独立 Citrix Secure Ticketing Authority (STA) 服务
-
-
-
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!
生成自定义脚本以通过命令行安装或升级 VDA
生成自定义脚本 按钮允许您根据 VDA 安装 UI 中所做的配置选择来创建批处理文件或脚本。生成的脚本可以导出并用于通过命令行执行无人参与的安装或升级。此功能有助于自动化部署、确保配置准确性并减少手动脚本错误。
请按照以下步骤从 VDA 安装 UI 生成命令行脚本。
步骤 1: 从安装程序 UI 生成自定义脚本
注意:
此功能仅在 UI 模式下受支持。
像往常一样在 UI 中配置 VDA 安装选项。在“摘要”页面上,选择“生成自定义脚本”以根据您的配置创建命令行脚本,如以下屏幕截图所示。

将出现一个对话框,提示您选择一个位置以保存生成的脚本。您还可以选择其他目录并在保存脚本之前对其进行重命名。

默认情况下,脚本将保存为批处理 (.bat) 文件。您也可以选择将其保存为 PowerShell (.ps1) 脚本。

脚本生成并保存后,将出现一个确认对话框,显示文件位置并描述脚本的用途。您可以使用任何文本编辑器(例如记事本)编辑生成的脚本。运行脚本之前,请退出安装程序 UI。一次只能运行一个 VDA 安装或升级过程。

步骤 2. 使用生成的脚本安装或升级 VDA
以下屏幕截图显示了如何使用生成的批处理文件安装或升级 VDA。唯一必需的参数是 VDA 安装程序的路径。如果安装程序路径有效,脚本将运行安装或升级,并以与 VDA 安装程序相同的退出代码退出。将显示可读的结果消息以指示过程的结果。

以下屏幕截图显示了如何使用生成的 PowerShell 脚本安装或升级 VDA。唯一必需的参数是 VDA 安装程序的路径。如果安装程序路径有效,脚本将运行安装或升级,并以与 VDA 安装程序相同的退出代码退出。将显示可读的状态消息,指示过程的结果。

注意:
如果 Delivery Controller 配置了注册令牌,请按照以下屏幕截图所示运行脚本。

脚本需要以下参数:<Path-to-generated-script>、<Path-to-vda-installer>、<Websocket-token-value>。
共享
共享
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.