Read-NaDirectory /vol/vol3/dati | where-object {$_.type -eq "directory" -and $_.name -ne ".." -and $_.name -ne "." -and $_.name -ne "System Volume Information"} | foreach-object {Add-NaCifsShare $_.name /vol/$._name -whatif}
Il link sotto contiene la versione aggiornata: