Hauro
Fleet Admiral
- Registriert
- Apr. 2010
- Beiträge
- 13.632
Eine Option zu 'clean all' ist das PowerShell-cmdlet Clear-DiskSerious_Sam schrieb:diskpart clean all ist eigentl. ziemlich sicher.
The Clear-Disk cmdlet clears the disk by removing the partition and volume information.
If the disk contains active data volumes, then the RemoveData parameter is required as this will delete all data from the specified disk. This cmdlet will not clear OEM recovery partitions unless RemoveOEM parameter is also specified.
PowerShell:
Clear-Disk -Number 1 -RemoveData
This example clears the disk if it has data partitions, but not if it also has OEM partitions.
PowerShell:
Clear-Disk -Number 1 -RemoveData -RemoveOEM
This example clears the disk regardless of whether it contains data or OEM partitions.