CmdID / PowerShell / Cmdlets / Clear
Clear-Disk
Cleans a disk by removing all partition information and un-initializing it, erasing all data on the disk. 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.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-FriendlyNameSpecifies a friendly name of the disk to clear.-InputObjectSpecifies the input object that is used in a pipeline command.-NumberSpecifies the disk number of the disk on which to perform the clear operation.-PassThruSpecifies that the cmdlet should output an object representing a disk.-PathSpecifies the path of the disk to clear.-RemoveDataEnables the removal of all of the data on the disk.-RemoveOEMEnables the removal of any OEM recovery partitions from the disk.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-UniqueId, -IdSpecifies the UniqueID of the disk to clear.-WhatIf, -wiShows what would happen if the cmdlet runs.