Microsoft Virtualization Discussions

PowerShell Toolkit: Create volume (FC / SAN) without junctionpath

infrastructure_admin
2,523 Views

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?

1 ACCEPTED SOLUTION

infrastructure_admin
2,515 Views

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

1 REPLY 1

infrastructure_admin
2,516 Views

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?

Public