duckman9-
We don't support one command that can create multiple VDs once invoked or can call 2 xmls. This is the workflow process to create multiple VDs using WSMAN:
1. Edit the xml that CreateVirtualDisk method will use. Once you are done editing the xml, invoke CreateVirtualDisk method which should pass and return pending VD information to the screen.
2. Edit the xml again, make changes for the next VD you want to create and once you are done editing, invoke CreateVirtualDisk method again which should pass and return pending VD information to the screen(Another option for this step is if you already have 2 xmls edited to create multiple VDs, just change the name of the file that CreateVirtualDisk method is calling).
3. Now run CreateTargetedConfigJob method using the same target controller you used to create multiple VDs.(Example: You used RAID.Integrated.1-1 for creating multiple VDs). Once you invoke this method, this will return a job ID to the screen. This one job will now execute and create the multiple VDs for your workflow.
4. Once the job is marked completed, you can run an enum on DCIM_VirtualDiskView class to see both VDs created.
This is the workflow for creating multiple VDs for one target config job. You are allowed to stack multiple RAID operations, just make sure to run all your set operations first before creating the target config job. Here's another workflow example for stacking RAID operations(1. Reset RAID controller, 2. Create VD, 3. Assign dedicated hotspare, 4. Create target config job).
Thanks