編集

次の方法で共有


Mount-AppxVolume

Mounts an appx volume.

Syntax

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.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Volume

Specifies the AppxVolume object to mount.

Type:AppxVolume[]
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False