def windows_diskpart_partition(rbox, disk, disk_num)
      rbox.quietly { rudy_rm :f, 'diskpart-script' }
      rbox.file_append 'diskpart-script', %Q{
      select disk #{disk_num}
      clean
      create partition primary
      select partition 1
      active
      assign letter=#{disk.path.tr(':/', '')}
      exit}
      rbox.rudy_diskpart '/s', 'diskpart-script'
      rbox.quietly { rudy_rm :f, 'diskpart-script' }
      rbox.rudy_format disk.path, '/V:RUDY', "/FS:#{disk.fstype}", '/Q', '/Y'
    end
def windows_diskpart_partition(rbox, disk, disk_num)
      rbox.quietly { rudy_rm :f, 'diskpart-script' }
      rbox.file_append 'diskpart-script', %Q{
      select disk #{disk_num}
      clean
      create partition primary
      select partition 1
      active
      assign letter=#{disk.path.tr(':/', '')}
      exit}
      rbox.rudy_diskpart '/s', 'diskpart-script'
      rbox.quietly { rudy_rm :f, 'diskpart-script' }
      rbox.rudy_format disk.path, '/V:RUDY', "/FS:#{disk.fstype}", '/Q', '/Y'
    end
See:
 * http://social.technet.microsoft.com/Forums/en-US/winserversetup/thread/2cfbaae1-6e33-4197-bb71-63434a34eb3c
 * http://technet.microsoft.com/en-us/library/cc766465(WS.10).aspx