Microsoft Virtualization Discussions
i'm trying to create a volume via powershell with type DP as a loadsharing snapmirror destination.
I'd like to create it without a junction path. I can do this using the cli but not with powershell.
the new-ncvol demands an junctionpath ( the -JunctionPath parameter can't be empty).
I'm using cDot 8.2 and the latest Toolkit.
any suggestions or workarounds?
See The Solution
You can pass a $null value to JunctionPath to create a volume without a junction path:
New-NcVol -Name test -Size 10GB -Aggregate aggr1 -JunctionPath $null
View solution in original post