I am trying to script the creation of SAN volume and then a LUN underneath using the CLI. The first problem is that there is no Storage Type option from the CLI that I can find. So creating the SAN volume with one command and then creating the LUN with a second command does not seem to be an option.
The second issue is if I try to just create the LUN and the volume at the same time using lun create, there is no option to select the aggregate that I want to use. I want the script to select a particular aggregate for this process.
Is there a way to do this without using WFA? Does Powershell have this capability? I am running CDOT 8.3.2P4.
Thanks,
Jon