I was in a costumer where I had to create many disks to present to several virtual machines in VMware. The Datastores were few, but I had to create 60 disks in each VM (maximum supported with four SCSI controllers). To increase complexity, all of these Volumes in Windows meant to be Mount Points. To optimize this process I had to create some Scripts to help me.
I splited in different points:
I splited in different points:
- Script to add multiple disks from one datastore to a VM;
- Script to change all the Disks paths to Round Robin (The Storage was a HPE 3PAR);
- Script to Create all the Windows Mount Points;
- Script to view the Mount Points created.
Let's see how to do it!