You can reference this article:
http://ss64.com/nt/diskpart.html
It has an example how to use diskpart to format the drive.
FORMAT FS=NTFS LABEL=”New Volume” QUICK
Additional information:
DiskPart Command-Line Options
http://technet.microsoft.com/en-us/library/cc766465(WS.10).aspx