Hello All,
I'm trying to solve a particular problem, and part of that solution is the Shared Virtual Disk feature of Hyper-V 2012 R2. What I have is a script that creates VMs at "run time" utilizing differencing disks off a primary parent VM. All of these new VMs need to share a disk of known files (build tools, drivers) across the board for the VMs. The script I have creates New VMs and adds a SCSI controller to each VM, then attaches the VHDX to the SCSI controller, however there is no setting that I can find in Powershell to enable this to be a SHARED DISK.
Instructions for enabling Shared disk are found here:
http://technet.microsoft.com/en-us/library/dn282283.aspx
Instructions for Add-VMHardDiskDrive are here:
http://technet.microsoft.com/en-us/library/hh848470.aspx
None of them specify the ability to set the disk to Shared in Powershell...
Any tips?
Thanks
john
John Wildes | Hitachi Data Systems | Director - Microsoft Technologies | Converged Platforms