Dismount-AppxVolume
Dismount-AppxVolume
Dismounts an appx volume.
構文
Parameter Set: Default
Dismount-AppxVolume [-Volume] <AppxVolume[]> [ <CommonParameters>]
詳細説明
The Dismount-AppxVolume cmdlet dismounts an AppxVolume. After you dismount a volume, all apps that are deployed to that target become inaccessible.
パラメーター
-Volume<AppxVolume[]>
Specifies the AppxVolume object to dismount.
Aliases |
none |
必須/オプション |
true |
位置 |
1 |
既定値 |
none |
パイプライン入力の受け入れ |
true(ByValue,ByPropertyName) |
ワイルドカード文字の受け入れ |
false |
<CommonParameters>
このコマンドレットは共通のパラメーターをサポートしています(-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、および -OutVariable)。詳細については、TechNet の「 「about_CommonParameters」 (https://go.microsoft.com/fwlink/p/?LinkID=113216) を参照してください。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットが出力するオブジェクトの型です。
使用例
Example 1: Dismount a volume by using a path
This command dismounts a volume at the path E:\.
PS C:\> Dismount-AppxVolume -Volume E:\
Example 2: Dismount a volume by using an ID
This command dismounts a volume that has the specified media ID.
PS C:\> Dismount-AppxVolume -Volume {7e62a691-398e-4fbe-819a-64f1e407777a}