DiskPart

Diskpart

use this for 2008 and above see ExtPart for 2003

diskpart

list volume #validate current size

select volume n

rescan

extend

list volume #validate extended size