Remove-AppxVolume

Remove-AppxVolume

Removes an appx volume.

구문

Parameter Set: SisPathSet
Remove-AppxVolume [-Volume] <AppxVolume[]> [ <CommonParameters>]

자세한 설명

The Remove-AppxVolume cmdlet removes an AppxVolume. You can only remove a volume after there are no apps staged to it for any user. After you remove a volume, apps can no longer be added to it.

매개 변수

-Volume<AppxVolume[]>

Specifies the AppxVolume object to remove.

별칭

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: Remove a volume by using an ID

This command removes a volume that has the specified media ID.

PS C:\> Remove-AppxVolume -Volume {984786d3-0cae-49de-a68f-8bedb0ca260b}

Example 2: Remove a volume by using a path

This command removes a volume at the path E:\.

PS C:\> Remove-AppxVolume -Volume E:\

관련 항목

Add-AppxVolume

Dismount-AppxVolume

Get-AppxVolume

Mount-AppxVolume