I can able to create Disk by using powershell but cant make it Multiwritter disk.
Below is the script i have created to add new disk in VM, but i want to make it Multiwriter to share it with another VM.
$vcenterServer = "vesa-01a.corp.local"
$user = “administrator@corp.local"
$password = "VMware1!"
$vm = “acct-app-01"
$Persistence = "IndependentPersistent"
$DiskType = "Flat"
$controller "SCSI controller 1"
$CapacityGB = "5"
$storageFormat = “EagerZeroedThick"
$Datastore = "RegionAQ1-LOCAL-ESX01A"
#Connect Vcenter Server
Connect-VIServer -Server $vcenterServer -User $user -Password $password
#Create New HDD on WM
New-HardDisk -VM $VM -CapacityGB $CapacityGB -StorageFormat $storageFormat -Persistence $Persistence -DiskType $DiskType -Controller $controller
need your help to make this script complete for making multi-writer disk. once I complete successful testing then i can implement the same in my organization.
Thanks,
Nilesh Pawar.