Checkpoint-IscsiVirtualDisk
Checkpoint-IscsiVirtualDisk
Creates a virtual disk snapshot.
Syntax
Parameter Set: __AllParameterSets
Checkpoint-IscsiVirtualDisk [-OriginalPath] <String> [-ComputerName <String> ] [-Credential <PSCredential> ] [-Description <String> ] [ <CommonParameters>]
Detailed Description
The Checkpoint-IscsiVirtualDisk cmdlet creates a snapshot.
Parameters
-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.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Credential<PSCredential>
Specifies the credentials when connecting to a remote computer.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-Description<String>
Specifies the description for the iSCSI virtual disk snapshot.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
-OriginalPath<String>
Specifies the path of the virtual hard disk (VHD) file that is associated with the iSCSI virtual disk to which the snapshot belongs.
Aliases |
Path |
Required? |
true |
Position? |
1 |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
- None
Outputs
The output type is the type of the objects that the cmdlet emits.
- None
Examples
EXAMPLE 1
This example creates a snapshot of the VHD with the path D:\VHDs\DB.vhd.
PS C:\> Checkpoint-IscsiVirtualDisk –OriginalPath "D:\VHDs\DB.vhd"
EXAMPLE 2
This example creates a snapshot of the VHD with the path D:\VHDs\DB.vhd, and gives a description of the snapshot. The operation will take place on a remote computer with the name fssvr.contoso.com.
PS C:\> Checkpoint-IscsiVirtualDisk –OriginalPath "D:\VHDs\DB.vhd" -Description "Before database merge" -ComputerName "fssvr.contoso.com"