With the new Module 9.11 or with the lastest 9.12 I got the error if I want to browse a volume
PS C:\Temp> Connect-NcController -Name $cluster -Credential $cred -ZapiCall
Name Address Version
---- ------- -------
cluster 10.10.10.10 NetApp Release 9.10.1P8: Tue Sep 13 14:10:13 UTC 2022
PS C:\Temp> Read-NcDirectory -VserverContext $vserver -Path /vol/$volname
Read-NcDirectory : Invalid path. Path should be in format /vol/<volume name>/<directory name> [/<directory name>...]
At line:1 char:1
+ Read-NcDirectory -VserverContext $vserver -Path /vol/$volname
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Read-NcDirectory], Exception
+ FullyQualifiedErrorId : System.Exception,DataONTAP.C.PowerShell.SDK.Cmdlets.File.ReadNcDirectory
Is this a BUG ? With the old module, like 9.8 it works perfect. And yes. With a directory it works. But I want to browse the volume.