< Back

Dismount-AppxVolume

Tue Jan 29, 2019 9:25 pm

NAME Dismount-AppxVolume



SYNOPSIS

Dismounts an appx volume.





SYNTAX

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





DESCRIPTION

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

inaccessible.





PARAMETERS

-Volume <AppxVolume[]>

Specifies the AppxVolume object to dismount.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-Confirm [<SwitchParameter>]

Prompts you for confirmation before running the cmdlet.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]

Shows what would happen if the cmdlet runs. The cmdlet is not run.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









Example 1: Dismount a volume by using a path



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



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

Example 2: Dismount a volume by using an ID



PS C:\\> Dismount-AppxVolume -Volume {7e62a691-398e-4fbe-819a-64f1e407777a}



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



RELATED LINKS

Add-AppxVolume

Get-AppxVolume

Dismount-AppxVolume

Remove-AppxVolume