Get-AppxVolume
Get-AppxVolume
Gets appx volumes for the computer.
구문
Parameter Set: DefaultParameterSet
Get-AppxVolume [[-Path] <String> ] [ <CommonParameters>]
Parameter Set: OfflineParameterSet
Get-AppxVolume -Offline [-Path <String> ] [ <CommonParameters>]
Parameter Set: OnlineParameterSet
Get-AppxVolume -Online [-Path <String> ] [ <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.
매개 변수
-Offline
Indicates that this cmdlet returns only volumes that are currently dismounted.
별칭 |
none |
필수 여부 |
true |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Online
Indicates that this cmdlet returns only volumes that are currently mounted.
별칭 |
none |
필수 여부 |
true |
위치 |
named |
기본값 |
none |
파이프라인 입력 허용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-Path<String>
Specifies the path of the mount point of a volume. This cmdlet gets a volume at the location that this parameter specifies.
별칭 |
none |
필수 여부 |
false |
위치 |
1 |
기본값 |
none |
파이프라인 입력 허용 여부 |
true (ByValue, ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)
입력
입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.
출력
출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.
- Microsoft.Appx.PackageManager.Commands.AppxVolume
예
Example 1: Get all the volumes
The command gets all the AppxVolume objects on the computer.
PS C:\> Get-AppxVolume
Example 2: Get the volume at a path
This command gets the AppxVolume at the path F:\.
PS C:\> Get-AppxVolume -Path F:\
Example 3: Get mounted volumes
This command gets only AppxVolume objects that are currently mounted on the computer.
PS C:\> Get-AppxVolume -Online
Example 4: Get volumes that are note mounted
This command gets the AppxVolume objects that not currently mounted on the computer.
PS C:\> Get-AppxVolume -Offline