Windows PowerShell command on Get-command Dismount-AppPackageVolume
MyWebUniversity

Windows PowerShell command on Get-command Dismount-AppPackageVolume

NAME

Dismount-AppxVolume

SYNOPSIS

Dismounts an appx volume.

SYNTAX

Dismount-AppxVolume [-Volume] [-Confirm] [-WhatIf] []

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

Specifies the AppxVolume object to dismount. Required? true Position? 1 Default value None

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false

-Confirm []

Prompts you for confirmation before running the cmdlet. Required? false Position? named Default value False Accept pipeline input? False Accept wildcard characters? false

-WhatIf []

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 This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (https:/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

Mount-AppxVolume

Remove-AppxVolume



Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 OurUNIX.com ™