Hi All,
I am trying to configure VM from remote computer through VM Name.
I had tried to add hard disks with the below command and is added which i can see in disk management.
New-HardDisk -VM $VMName -CapacityGB $DiskSize -Persistence persistent
The disk is not been shown in my computer as the disks have to be initialized and formatted.
Can someone help with powercli scripts to initialize and format hard disks from remote computer. I am a newbie to VMWare scripting and help will be very much appreciated.
Thanks and Regards,
Ashvin