CmdID / PowerShell / Cmdlets / Convert
Convert-VHD
Converts the format, version type, and block size of a virtual hard disk file. Windows Server PowerShell reference
From the Windows Server PowerShell reference 13 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-BlockSizeBytesSpecifies the block size, in bytes, of the virtual hard disk after conversion.-CimSessionRuns the cmdlet in a remote session or on a remote computer.-ComputerNameSpecifies one or more Hyper-V hosts on which the virtual hard disk is to be converted.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-DeleteSourceSpecifies that the source virtual hard disk is to be deleted after the conversion.-DestinationPathSpecifies the path to the converted virtual hard disk file.-ParentPathSpecifies the parent path for the destination-differencing virtual hard disk file.-PassthruSpecifies that an object is to be passed through to the pipeline representing the converted virtual hard disk.-Path, -FullNameSpecifies the path to the virtual hard disk file to be converted.-VHDTypeSpecifies the type of the converted virtual hard disk.-WhatIf, -wiShows what would happen if the cmdlet runs.