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.
Specifies the AppxVolume object to remove.
Aliases |
none |
必須/オプション |
true |
位置 |
1 |
既定値 |
none |
パイプライン入力の受け入れ |
true(ByValue,ByPropertyName) |
ワイルドカード文字の受け入れ |
false |
このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力型は、コマンドレットが出力するオブジェクトの型です。
This command removes a volume that has the specified media ID.
PS C:\> Remove-AppxVolume -Volume {984786d3-0cae-49de-a68f-8bedb0ca260b}
This command removes a volume at the path E:\.
PS C:\> Remove-AppxVolume -Volume E:\