CmdID / PowerShell / Cmdlets / New
New-VHD
Creates one or more new virtual hard disks. Windows Server PowerShell reference
From the Windows Server PowerShell reference 16 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 to be created.-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 file(s) are to be created.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies one or more user accounts that have permission to perform this action.-DifferencingSpecifies that a differencing virtual hard disk is to be created.-DynamicSpecifies that a dynamic virtual hard disk is to be created.-FixedSpecifies that a fixed virtual hard disk is to be created.-LogicalSectorSizeBytesSpecifies the logical sector size, in bytes, of the virtual hard disk to be created.-ParentPathSpecifies the path to the parent of the differencing disk to be created (this parameter may be specified only for the creation of a differencing disk).-PathPath to the new virtual hard disk file(s) that is being created as a result of a command.-PhysicalSectorSizeBytesSpecifies the physical sector size, in bytes.-SizeBytesThe maximum size, in bytes, of the virtual hard disk to be created.-SourceDisk, -NumberSpecifies the physical disk to be used as the source for the virtual hard disk to be created.-WhatIf, -wiShows what would happen if the cmdlet runs.