description | external help file | Module Name | ms.date | online version | schema | title |
---|---|---|---|---|---|---|
Use this topic to help manage Windows and Windows Server technologies with Windows PowerShell. |
Microsoft.Windows.Appx.PackageManager.Commands.dll-Help.xml |
Appx |
05/15/2023 |
2.0.0 |
Get-AppxVolume |
Gets appx volumes for the computer.
Get-AppxVolume [[-Path] <String>] [<CommonParameters>]
Get-AppxVolume [[-Path] <String>] [-Online] [<CommonParameters>]
Get-AppxVolume [[-Path] <String>] [-Offline] [<CommonParameters>]
The Get-AppxVolume
cmdlet gets a list of AppxVolume objects known to the computer.
Volumes can be added by the user or a device, for instance, by using Storage Sense.
Get-AppxVolume
The command gets all the AppxVolume objects on the computer.
Get-AppxVolume -Path F:\
This command gets the AppxVolume at the path F:.
Get-AppxVolume -Online
This command gets only AppxVolume objects that are currently mounted on the computer.
Get-AppxVolume -Offline
This command gets the AppxVolume objects that not currently mounted on the computer.
Indicates that this cmdlet returns only volumes that are currently dismounted.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: OfflineParameterSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Indicates that this cmdlet returns only volumes that are currently mounted.
Type: System.Management.Automation.SwitchParameter
Parameter Sets: OnlineParameterSet
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the path of the mount point of a volume. This cmdlet gets a volume at the location that this parameter specifies.
Type: String
Parameter Sets: DefaultParameterSet
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
Type: String
Parameter Sets: OnlineParameterSet, OfflineParameterSet
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.