Dismount-AppxVolume
Dismount-AppxVolume
Dismounts an appx volume.
Syntax
Parameter Set: Default
Dismount-AppxVolume [-Volume] <AppxVolume[]> [ <CommonParameters>]
Detaillierte Beschreibung
The Dismount-AppxVolume cmdlet dismounts an AppxVolume. After you dismount a volume, all apps that are deployed to that target become inaccessible.
Parameter
-Volume<AppxVolume[]>
Specifies the AppxVolume object to dismount.
Aliase |
none |
Erforderlich? |
true |
Position? |
1 |
Standardwert |
none |
Pipelineeingaben akzeptieren? |
true(ByValue,ByPropertyName) |
Platzhalterzeichen akzeptieren? |
false |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer und -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die Sie per Piping an das Cmdlet übergeben können.
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
Beispiele
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}