Quantcast
Channel: Hyper-V forum
Viewing all articles
Browse latest Browse all 19461

Add Virtual Disk to a VM using powershell.

$
0
0

Hi All,

I am trying to attach 4 disk to a Virtual Machine. Can anyone please help me with the powershell.  The below script seems to be not working as expected. The below script is only for adding one disk.

New-SCVirtualDiskDrive -VMMServer test.com -SCSI -Bus 0 -LUN 2 -VirtualHardDiskSizeMB 51200 -Dynamic -Filename "ABC_disk_1" -VolumeType None 

Any help or any pointer would be helpful. 

Regards


Priyabrata


Viewing all articles
Browse latest Browse all 19461

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>