CmdID / PowerShell / Cmdlets / New
New-Partition
Creates a new partition on an existing Disk object. Windows Server PowerShell reference
From the Windows Server PowerShell reference 17 parameters Its page in the reference
Parameters
Show its 17 parameters
-AlignmentSpecifies the alignment boundary in bytes.-AsJobRuns the cmdlet as a background job.-AssignDriveLetterAssigns a drive letter to the new partition.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-DiskId, -IdSpecifies the ID of the disk on which to create the partition.-DiskNumberSpecifies an array of disk numbers.-DiskPathSpecifies the path of the disk on which to create the partition.-DriveLetter, -NewDriveLetterSpecifies the specific drive letter to assign to the new partition.-GptTypeSpecifies the type of GPT partition to create (by GUID).-InputObjectSpecifies the input object that is used in a pipeline command.-IsActiveMarks the partition as active: - On a BIOS-based system, the active partition is the partition the system will boot to.-IsHiddenCreates a hidden partition.-MbrTypeSpecifies the type of MBR partition to create.-OffsetSpecifies the starting offset, in bytes.-SizeSpecifies the size of the partition to create.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-UseMaximumSizeCreates the largest possible partition on the specified disk.