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.AppLayering PowerShell 模块
本文档介绍了安装、更新和卸载 Citrix.AppLayering PowerShell 模块的基本步骤。在使用 Image Portability 时,此模块提供了执行导出、准备和诊断任务的功能。
有关关联的 cmdlet 及其使用示例的更多信息,请参阅以下文档。
安装库和模块
Image Portability 使用 Microsoft PowerShell Gallery 中的库来驱动可移植性操作。
运行以下 PowerShell 命令以安装最新版本的 Citrix.AppLayering 模块:
Install-Module -Name "Citrix.AppLayering" -Scope CurrentUser
<!--NeedCopy-->
运行以下 PowerShell 命令以安装特定版本的 Citrix.AppLayering 模块:
Install-Module -Name "Citrix.AppLayering" -RequiredVersion 1.0.0 -Scope CurrentUser
<!--NeedCopy-->
通过运行以下命令确认模块已成功安装:
Get-InstalledModule -Name "Citrix.AppLayering"
<!--NeedCopy-->
此命令返回类似于以下内容的输出:
| 名称 | 存储库 | 描述 |
|---|---|---|
| Citrix.AppLayering | PSGallery | 用于导出和准备映像的命令,以及与 App Layering 设备交互的其他方式 |
更新模块到最新版本
运行以下命令以将模块更新到最新版本:
Update-Module -Name "Citrix.AppLayering" -Force
<!--NeedCopy-->
运行以下命令以更新到特定版本的 Citrix.AppLayering 模块:
Update-Module -Name "Citrix.AppLayering" -RequiredVersion 1.0.0
<!--NeedCopy-->
注意:
如果 Citrix.AppLayering PowerShell 模块更新到当前 App Layering 设备不支持的版本,则某些 cmdlet 可能无法正常运行。这将需要执行以下操作之一:
- 安装或更新您的 Citrix.AppLayering PowerShell 模块到失败的 Image Portability 任务指定的版本
- 升级 您的 App Layering 设备
卸载库和模块
运行以下命令以卸载 Citrix.AppLayering 模块:
Get-InstalledModule -Name "Citrix.AppLayering" | Uninstall-Module
<!--NeedCopy-->
运行以下命令以卸载特定版本的 Citrix.AppLayering 模块:
Uninstall-Module -Name "Citrix.AppLayering" -RequiredVersion 1.0.0
<!--NeedCopy-->
基本用法和示例
模块安装后,您可以通过运行以下命令查看 Citrix.AppLayering PowerShell 模块中可用的命令:
Get-Command -Module "Citrix.AppLayering"
<!--NeedCopy-->
要获取有关特定命令的详细信息,包括其描述和使用示例,请使用:
Get-Help <Command-Name> -Full
<!--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.