Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

Can we create VMDK disks without adding to any VM ?

$
0
0

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.


Viewing all articles
Browse latest Browse all 179681

Trending Articles



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