Hello,
some time ago I created script that shows me directories on each volume.
After module update to 9.11.1.2208 the script fails on read-ncdirectory command with error message:
Read-NcDirectory : Invalid path. Path should be in format /vol/<volume name>/<directory name>
part of code:
foreach ($volume in (Get-NcVol -Aggregate ************)) {
$vserver = $volume.Vserver
$volname = $volume.Name
$level1 = Read-NcDirectory -VserverContext $vserver -Path /vol/$volname|?{($_.Name -notlike ".*") -and ($_.Type -like "directory")-and ($_.Name -notlike "Trash")}
}
how can i modify the script to work again?