In this article I’ll show you how I Increase \ Resize the size of my Disk on Windows Nano Server 2016 Virtual Machine.
Before you start make sure you read the previous article about Managing Storage on Windows Nano Server 2016
To get started with Nano Server check the articles below:
- Download Nano Server 2016
- Connect to It using Remote PowerShell.
-
Install Nano Server Package Provider
In my case I have expanded my Nano Server C: drive using Hyper-V.
Next I logged to My Nano Server 2016 server and run the cmdlet below to get the new disk size.
Get-Disk | ft -AutoSize
Next I run the cmdlet below to get the partition number
Get-Partition
To Resize the Partition number I run he cmdlet:
Resize-Partition -DiskNumber 0 -PartitionNumber 1 -Size (7.5gb)
To view the new size use:
Get-volume