Welcome to the Microsoft Script Center. We are dedicated to the system administrator scripters of the world. At the Microsoft Script Center, we focus on teaching people how to use Windows PowerShell to reduce time spent performing mundane tasks.
Â
What's new?
Check out the Hey, Scripting Guy! blog to catch all the latest news, events, and, of course, scripts!
PowerTip: Use PowerShell 3.0 to Resize Partitions Summary: Use Windows PowerShell 3.0 in Windows Server 2012 or Windows 8 to resize partitions.
How can I easily resize partitions in Windows Server 2012 or Windows 8 by using Windows PowerShell 3.0?
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
Monday, Sep 2