更新时间:2022-02-21 17:49:05
嗨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