Change drive letter through powershell – hyper-v 2012 R2

Source: http://systemcenter-virtual.blogspot.no/2012/10/hyper-v-server-corehow-to-reassign.html

From the Server Core server, in the command prompt I type :

C:> diskpart

Next it will display

DISKPART >

Type List Volume

DISKPART > list volume

The listing will be like below

Volume ####
——————-
Ltr
—-
Type
——-
Volume 0 E DVD-ROM
Volume 1 C Partition

<Look for type DVD-CD to find drive letter>

Type the following to change the drive letter, in the example below, I’m changing it to Drive Z for my DVD-ROM

DISKPART > select volume 0
DISKPART > assign letter=z
DISKPART > exit

Kommentarer er stengt.

Blogg på WordPress.com.

opp ↑