Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 17778

PowerTip: Use PowerShell 3.0 to Resize Partitions

$
0
0

Summary: Use Windows PowerShell 3.0 in Windows Server 2012 or Windows 8 to resize partitions.

Hey, Scripting Guy! Question How can I easily resize partitions in Windows Server 2012 or Windows 8 by using Windows PowerShell 3.0?

Hey, Scripting Guy! Answer Microsoft PFE, Jason Walker, says, “Use the Get-PartitionSupportedSize and the Resize-Partition functions:"

$MaxSize = (Get-PartitionSupportedSize -DriveLetter c).sizeMax

Resize-Partition -DriveLetter c -Size $MaxSize


Viewing all articles
Browse latest Browse all 17778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>