Convert-IscsiVirtualDisk
Convert-IscsiVirtualDisk
Converts an iSCSI virtual disk to a 4K sector aligned advanced virtual disk 1.0 format.
構文
Parameter Set: Default
Convert-IscsiVirtualDisk [-Path] <String> [-DestinationPath] <String> [ <CommonParameters>]
詳細説明
Note: This cmdlet is deprecated and might be removed in a future release. We recommend that you do not use this cmdlet.
The Convert-IscsiVirtualDisk cmdlet converts an iSCSI virtual disk to a 4K sector aligned advanced virtual disk 1.0 format. If an attempt is made to load a VHD created by the iSCSI Target 3.3, then the VHD must be converted by running this cmdlet. This cmdlet performs copy and conversion at the same time. A remote file share or local path for both source and destination path can be specified.
Note: Use this cmdlet if iSCSI Target 3.3 differencing virtual disks are migrated to Windows Server 2012 R2 differencing virtual disks.
パラメーター
-DestinationPath<String>
Specifies the destination path of the iSCSI virtual disk path to which to be copied and converted.
エイリアス |
なし |
必須? |
true |
位置は? |
2 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Path<String>
Specifies the path of the virtual hard disk (VHD) file that is associated with the iSCSI virtual disk.
Filter the iSCSI Virtual Disk object using this parameter.
エイリアス |
DevicePath |
必須? |
true |
位置は? |
1 |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- None
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- None
例
EXAMPLE 1
This example copies and converts the VHD namedtest.vhdx from \\zamfirsvr\VHDs\ to \\win8svr\VHDs. The VHD named test.vhdx can be loaded after the conversion.
PS C:\> Convert-IscsiVirtualDisk -Path \\zamfirsvr\VHDs\test.vhdx -DestinationPath \\win8svr\VHDs\test.vhdx