CmdID / PowerShell / Cmdlets / Remove
Remove-Partition
Deletes the specified Partition object on an existing disk and any underlying Volume objects. Windows Server PowerShell reference
From the Windows Server PowerShell reference 12 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-DiskIdSpecifies an ID used to identify a disk in the system.-DiskNumberSpecifies an array of disk numbers.-DriveLetterSpecifies a letter used to identify a drive or volume in the system.-InputObjectSpecifies the input object that is used in a pipeline command.-OffsetSpecifies the starting offset, in bytes.-PartitionNumber, -NumberSpecifies the number of the partition.-PassThruSends items from the interactive window down the pipeline as input to other cmdlets.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.