Mount-IscsiVirtualDiskSnapshot
Mount-IscsiVirtualDiskSnapshot
Mounts a snapshot locally.
구문
Parameter Set: SnapshotId
Mount-IscsiVirtualDiskSnapshot [-SnapshotId] <String> [-ComputerName <String> ] [-Credential <PSCredential> ] [ <CommonParameters>]
Parameter Set: InputObject
Mount-IscsiVirtualDiskSnapshot -InputObject <IscsiVirtualDiskSnapshot> [-ComputerName <String> ] [-Credential <PSCredential> ] [ <CommonParameters>]
자세한 설명
Note: This cmdlet is deprecated and might be removed in a future release. We recommend that you do not use this cmdlet.
The Mount-IscsiVirtualDiskSnapshot cmdlet mounts a snapshot locally. This cmdlet operates on snapshots in the virtual disk 1.0 (VHD) format only.
Mounting a snapshot locally exposes the snapshot as a disk to the local computer.
Use diskmgmt.msc or cmdlets to bring the disk online.
매개 변수
-ComputerName<String>
Specifies the computer name, or IP address, of the remote computer, if this cmdlet is run on a remote computer.
Specifies the cluster resource group network name, or cluster node name, if this cmdlet is run on a cluster configuration.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-Credential<PSCredential>
Specifies the credentials when connecting to a remote computer.
별칭 |
없음 |
필수 여부 |
false |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
-InputObject<IscsiVirtualDiskSnapshot>
Accepts an iSCSI Virtual Disk Snapshot object from the input pipeline.
별칭 |
없음 |
필수 여부 |
true |
위치 |
named |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
false |
와일드카드 문자 허용 여부 |
false |
-SnapshotId<String>
Specifies the identifier (ID) for the snapshot.
별칭 |
없음 |
필수 여부 |
true |
위치 |
1 |
기본값 |
없음 |
파이프라인 입력 적용 여부 |
True (ByPropertyName) |
와일드카드 문자 허용 여부 |
false |
<CommonParameters>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
- Microsoft.Iscsi.Target.Commands.IscsiVirtualDiskSnapshot
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
- None
예제
EXAMPLE 1
This example mounts the snapshot with the ID {E9A5BA03-85B9-40CA-85DF-DC1695690B40} on the local server, which can be accessed by the backup server to perform backup.
PS C:\> Mount-IscsiVirtualDiskSnapshot –SnapshotId "{E9A5BA03-85B9-40CA-85DF-DC1695690B40}"
EXAMPLE 2
This example mounts the Snapshot object stored in a variable named $VhdSnapshot on the local server, which can be accessed by the backup server to perform backup.
PS C:\> Mount-IscsiVirtualDiskSnapshot -InputObject $VhdSnapshot
관련 항목
Dismount-IscsiVirtualDiskSnapshot
Export-IscsiVirtualDiskSnapshot