PowerTip: Use PowerShell to format drive

Doctor Scripto

Dr Scripto

Summary: Learn how to use Windows PowerShell to quickly format a drive.

Hey, Scripting Guy! Question How can I use Windows PowerShell to quickly format a drive?

Hey, Scripting Guy! Answer Use the Format-Volume cmdlet and specify the drive letter, for example:

Format-Volume -DriveLetter D

Doctor Scripto
Dr Scripto

Scripter, PowerShell, vbScript, BAT, CMD

Follow Dr Scripto   

0 comments

    Leave a comment