search
Categories
Sponsors
VirtualMetric Hyper-V Monitoring, Hyper-V Reporting
Archive
Blogroll

Badges
MCSE
Community

Cozumpark Bilisim Portali
Posted in Windows Powershell, Windows Server | No Comment | 7,767 views | 05/03/2012 00:44

In this post, I’ll talk about disk operations on Windows Server 8 Beta. I have Windows 7 and Windows Server 8 Beta on a PC and I want to install Windows 8 Beta as well. I will resize my current Windows Server 8 partition and create a new partition for Windows 8 Beta. When I want to do this operation via Server Manager GUI (in case of you have Server 8 with GUI), I don’t see any option for “Shrink”. Maybe I’m looking to wrong section but here it is:

So lets do this operation via Powershell.

1. First of all lets get partition information.

Get-Partition

2. My drive letter is W. So I can get detailed information.

Get-Partition -DiskNumber 1 -PartitionNumber 2

3. Drive size is 373 Gb. I’ll resize it to 250 Gb.

Get-Partition -DiskNumber 1 -PartitionNumber 2 | Resize-Partition -Size 250GB