NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform. You will still be able to view content, but posting and replying will be temporarily disabled.
We're excited to launch our new Community experience on July 30 and more information will follow soon.
Stay connected during the transition - Join our Discord community today.

Microsoft Virtualization Discussions

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

infrastructure_admin
3,536 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
3,528 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
3,529 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