Expanding a Windows Partition This topic contains 3 replies, has 2 voices, and was last updated by Richard Siddaway 3 years, 8 months ago. Author Posts February 12, 2014 at 6:23 am #13051 vmware guyParticipant I have a Windows 2008 Server virtual machine which has had its virtual hard disk expanded. Now I need to expand the partition inside the operating system. What is the simplest way to expand a windows partition in Windows 2008 Server with powershell? February 12, 2014 at 6:29 am #13052 Richard SiddawayModerator Only reliable way I've found is to use diskpart February 12, 2014 at 6:42 am #13055 vmware guyParticipant Is it possible to script the use of diskpart – for example to call diskpart from a powershell script, and tell diskpart to expand disk 0 partition 1 by the maximum amount possible? February 12, 2014 at 6:55 am #13057 Richard SiddawayModerator You can call diskpart from with PowerShell the syntax is explained here http://support.microsoft.com/kb/300415 Author Posts You must be logged in to reply to this topic.