Add-AppxVolume
Add-AppxVolume
Adds an appx volume to the Package Manager.
구문
Parameter Set: SimpleSet
Add-AppxVolume [-Path] <String[]> [ <CommonParameters>]
자세한 설명
The Add-AppxVolume cmdlet adds an AppxVolume for the Package Manager to advertise. After you add a volume, appx deployment operations can use that volume as a target. This cmdlet returns the volume that it adds. Note, the input volume must be specified with a trailing folder "WindowsApps", not using "WindowsApps" could lead to inconsistent behavior in the application model subsystems or the volume itself; for more information see the examples section.
매개 변수
-Path<String[]>
Specifies the path of the mount point of the volume that this cmdlet adds.
별칭 |
PSPath |
필수 여부 |
true |
위치 |
1 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByValue,ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
Microsoft.Appx.PackageManager.Commands.AppxVolume
This cmdlet returns the AppxVolume object that it adds.
예
Example 1: Add a volume
This command adds the volume E:\WindowsApps to Package Manager.
PS C:\> Add-AppxVolume -Path "E:\WindowsApps"