Checkpoint-IscsiVirtualDisk
Creates a virtual disk snapshot.
Syntax
Checkpoint-IscsiVirtualDisk
[-Description <String>]
[-OriginalPath] <String>
[-ComputerName <String>]
[-Credential <PSCredential>]
[<CommonParameters>]
Description
The Checkpoint-IscsiVirtualDisk cmdlet creates a snapshot.
Examples
Example 1: Create a snapshot of a VHD
PS C:\> Checkpoint-IscsiVirtualDisk -OriginalPath "D:\VHDs\DB.vhdx"
This example creates a snapshot of the VHD with the path D:\VHDs\DB.vhdx.
Example 2: Create a snapshot of a VHD with description
PS C:\> Checkpoint-IscsiVirtualDisk -OriginalPath "D:\VHDs\DB.vhdx" -Description "Before database merge" -ComputerName "fssvr.contoso.com"
This example creates a snapshot of the VHD with the path D:\VHDs\DB.vhdx, and gives a description of the snapshot. The operation occurs on a remote computer that has the name fssvr.contoso.com.
Parameters
-ComputerName
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.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Credential
Specifies the credentials when connecting to a remote computer.
Type: | PSCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Description
Specifies the description for the iSCSI virtual disk snapshot.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-OriginalPath
Specifies the path of the virtual hard disk (VHD) file that is associated with the iSCSI virtual disk to which the snapshot belongs.
Type: | String |
Aliases: | Path |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.Iscsi.Target.Commands.IscsiVirtualDiskSnapshot
Related Links
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기