Move-AppxPackage
Move-AppxPackage
Moves a package from its current location to another appx volume.
구문
Parameter Set: Default
Move-AppxPackage [-Package] <String[]> [-Volume] <AppxVolume> [ <CommonParameters>]
자세한 설명
The Move-AppxPackage cmdlet moves a package from its current location to another AppxVolume. The new location must be a volume that Package Manager knows about and that is mounted. This cmdlet also moves your application data to the specified volume.
매개 변수
-Package<String[]>
Specifies an AppxPackage object or the full name of a package. This cmdlet moves the package that this parameter specifies.
별칭 |
none |
필수 여부 |
true |
위치 |
1 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true(ByValue,ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Volume<AppxVolume>
Specifies an AppxVolume object. The cmdlet moves the package to the volume that this parameter specifies.
별칭 |
none |
필수 여부 |
true |
위치 |
2 |
기본값 |
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 실행 시 출력되는 개체의 형식입니다.
예
Example 1: Move a package to a volume specified by a path
This command moves package that has the specified name to volume F:\. This cmdlet also moves your app data.
PS C:\> Move-AppxPackage -Package "package1_1.0.0.0_neutral__8wekyb3d8bbwe" -Volume F:\
Example 2: Move a package to a volume specified by an ID
This command moves package that has the specified name to the volume that has the specified media ID. This cmdlet also moves your app data.
PS C:\> Move-AppxPackage -Package "package1_1.0.0.0_neutral__8wekyb3d8bbwe" -Volume {d2a4d1f4-f45a-46f3-a419-160ab52af091}