Because I try to install only Core servers wherever possible, sometimes I need some command lines to manage the drives or volumes.
- Change CD-ROM drive letter to X:
123$vol = Get-WmiObject win32_volume -Filter 'DriveLetter = "D:"'$vol.DriveLetter = "X:"$vol.Put() | out-null - Get an overview of available volumes and Disks:
12Get-VolumeGet-Disk - Initialize and format additional disk:
123Initialize-Disk -Number 1New-Partition -DiskNumber 1 -UseMaximumSize -AssignDriveLetterFormat-Volume -DriveLetter D -NewFileSystemLabel DATA