Hi Experts,
I'm trying to create VMDK disks using below command but looks like VM is a mandatory parameter when creating disks using New-HardDisk cmdlet. Is there a way to create VMDKs without adding to a VM.
New-HardDisk -CapacityGB 10 -Datastore DSSCSI3 -StorageFormat EagerZeroedThick
My final goal is to have a powercli script which will assign a VMDK disk to multiple VMs as shared disk. I know that first we need to create and add disks to a VM then use Add Existing disk option to add disks to other VMs as a shared disks. I'm trying to achieve this using powercli script.
Any quick help will be appreciated.