Mount-AppxVolume
Mounts an appx volume.
Syntax
Default (Default)
Mount-AppxVolume
[-Volume] <AppxVolume[]>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Mount-AppxVolume cmdlet mounts an AppxVolume. After you mount a volume, all apps that
are deployed to that target become accessible.
Examples
Example 1: Mount a volume by using a path
Mount-AppxVolume -Volume E:\
This command mounts a volume at the path E:\.
Example 2: Mount a volume by using an ID
Mount-AppxVolume -Volume {7e62a691-398e-4fbe-819a-64f1e407777a}
This command mounts 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
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
-Volume
Specifies the AppxVolume object to mount.
Parameter properties
| Type: | AppxVolume[] |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | 1 |
| Mandatory: | True |
| Value from pipeline: | True |
| Value from pipeline by property name: | True |
| Value from remaining arguments: | False |
-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
(All)
| Position: | Named |
| Mandatory: | False |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
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.