Set-AppxDefaultVolume

Set-AppxDefaultVolume

Specifies a default appx volume.

구문

Parameter Set: Default
Set-AppxDefaultVolume [-Volume] <AppxVolume> [ <CommonParameters>]

자세한 설명

The Set-AppxDefaultVolume cmdlet specifies a default AppxVolume. The default AppxVolume is the default target for all deployment operations on the computer. Deployment operations can specify a different non-default target volume.

매개 변수

-Volume<AppxVolume>

Specifies the path a volume. This cmdlet sets the volume that this parameter specifies to be the default deployment target for the computer.

별칭

none

필수 여부

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 실행 시 출력되는 개체의 형식입니다.

Example 1: Set a default volume by using a path

This command sets the default volume to be the volume F:\.

PS C:\> Set-AppxDefaultVolume -Volume F:\ 

Example 2: Set a default volume by using an ID

This command sets the default volume to be the one that has the specified media ID.

PS C:\> Set-AppxDefaultVolume -Volume {ef23c8d6-b13c-4c4c-ae3b-7d5a162de9b9}

관련 항목

Get-AppxDefaultVolume