关于“Add-AppxPackage”的问题powershell命令 [英] Question on "Add-AppxPackage" powershell command

查看:11919
本文介绍了关于“Add-AppxPackage”的问题powershell命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好

默认情况下,使用PowerShell安装'eappx'软件包时,该应用程序将安装在驱动器C上。如何更改安装位置 "添加-AppxPackage" powershell命令?

By default when installing an 'eappx' package using powershell, the app will be installed on drive C. How to change the installation location in "Add-AppxPackage" powershell command?

谢谢

推荐答案

嗨drjackool,

Hi drjackool,

感谢您在此发布。

>>默认情况下,使用powershell安装'eappx'软件包时,应用程序将安装在驱动器C上。如何更改 ""Add-AppxPackage"中的安装位置powershell命令?

实际上Add-AppxPackage命令有路径参数。

Actually the Add-AppxPackage command has path parameter.

Add-AppxPackage
   [-Path] <String>
   [-DependencyPath <String[]>]

有关详细信息,请参阅以下文档。

For more information, please refer to this document below.

https://docs.microsoft.com/en-us / powershell / module / appx / add-appxpackage?view = win10-ps

顺便说一下,下次你可以将PowerShell案例发布到下面的论坛中更好的支持。

By the way, for the next time, you could post PowerShell cases into this forum below for better support.

https:// social.technet.microsoft.com/Forums/windowsserver/en-US/home?forum=winserverpowershell

您的理解与合作将不胜感激。

Your understanding and cooperation will be grateful.

最好的问候,

Baron Bi


这篇关于关于“Add-AppxPackage”的问题powershell命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆