Software Development Kit (SDK) and API Discussions

Get-NcVol won't show path from Get-NcCifsShare

Hi all,


Most of our CIFS volumes have their namespace under vol, a leftover from our 7-mode days. Recently, we have simply allowed Ontap to create the namespace, which results in /flexvol1 instead of /vol/flexvol1 as a path. Using


$sharedetails = Get-NcCifsShare $sharename
Get-NcVol $sharedetails.Path

gives a result for Get-NcVol $sharedetails.Path if the namespace is in /vol. But the same query on a volume in / returns a null. Anyone have any ideas? TIA.