Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

Dismount-AppxVolume

Module:
Appx Module

Dismounts an appx volume.

Syntax

Default (Default)

Dismount-AppxVolume
 [-Volume] <AppxVolume[]>
 [-WhatIf]
 [-Confirm]
 [<CommonParameters>]

Description

The Dismount-AppxVolume cmdlet dismounts an AppxVolume. After you dismount a volume, all apps that are deployed to that target become inaccessible.

Examples

Example 1: Dismount a volume by using a path

Dismount-AppxVolume -Volume E:\

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

Example 2: Dismount a volume by using an ID

Dismount-AppxVolume -Volume {7e62a691-398e-4fbe-819a-64f1e407777a}

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

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

-Volume

Specifies the AppxVolume object to dismount.

Parameter properties

Type:

AppxVolume[]

Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet isn't run.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Related Links


Feedback

Was this page helpful?