Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Create New Partition

$
0
0

Summary: Use Windows PowerShell to create a new partition on a disk.

Hey, Scripting Guy! Question How can I use Windows PowerShell to create a new partition on a disk?

Hey, Scripting Guy! Answer Use the New-Partition cmdlet, specify the disk number, and assign a new drive letter and size, for example:

New-Partiton -DiskNumber 2 -UseMaximumSize -AssignDriveLetter


Viewing all articles
Browse latest Browse all 3333

Trending Articles