如何使用 Windows PowerShell 修改客户端配置

适用于:

  • Windows 10
  • Windows 11

使用以下步骤配置 App-V 客户端配置。

  1. 若要使用 Windows PowerShell 配置客户端设置,请使用 Set-AppVClientConfiguration cmdlet。 有关安装 Windows PowerShell 和 cmdlet 列表的详细信息,请参阅如何为 App-V 加载 Windows PowerShell Cmdlet 并获取 Cmdlet 帮助。

  2. 若要修改客户端配置,请打开 Windows PowerShell 命令提示符,并使用任何必需参数运行 Set-AppVClientConfiguration。 例如:

    $config = Get-AppVClientConfiguration

    Set-AppVClientConfiguration $config

    Set-AppVClientConfiguration -Name1 MyConfig -Name2 "xyz"

App-V 的操作