Posts: 147
Threads: 52
Joined: Oct 2017
Reputation:
0
I have been watching Britec youtube videos and had a question about a new set of commands I picked up from your video.
It was a video on how to erase a drive.
My question is when using the powershell command "Get-Disk 0 | Clear-Disk -RemoveData" will this command have the same effect as using the Diskpart command "clean" ? Just wondering...
Posts: 4,727
Threads: 311
Joined: Sep 2014
Reputation:
102
That would be hard to say without a test. Clean command will erase all the data, but its possible to recover some data.
Clear Disk will erase the drive also and both take a long time to complete. If I had to guess I would say Clear-Disk is better.
More
Get-Disk commands and
Clear-Disk commands
<left><form action="https://www.paypal.com/cgi-bin/webscr" method="post">If you are satisfied with my help, consider a donation. Thank you so much for your continued support!
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="Y4ZDLXGFS4F8Q">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="0" height="0">
</form>
</div></left>
Posts: 4,727
Threads: 311
Joined: Sep 2014
Reputation:
102
solved
<left><form action="https://www.paypal.com/cgi-bin/webscr" method="post">If you are satisfied with my help, consider a donation. Thank you so much for your continued support!
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="Y4ZDLXGFS4F8Q">
<input type="image" src="https://www.paypalobjects.com/en_US/GB/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal — The safer, easier way to pay online.">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="0" height="0">
</form>
</div></left>