Microsoft Virtualization Discussions
Im trying to create volumes with a powershell script, but I cant find an option to create a volume without providing a junctionpath.
When I create a flexvol via GUI, i can assign the storagetype "SAN (Used for FC/FCoE or iSCSI or NVMe access)", which doesnt create a junctionpath for the volume.
Is there a way to create a flexvol via powershell, which doesnt need a junctionpath?
See The Solution
I just saw a post which suggested to just set the junctionpath to $Null which seems to work.
But shouldnt there be an option to just set the storage type to FC / SAN so it doenst even ask for a junctionpath?
View solution in original post