Microsoft Virtualization Discussions

Recurse remove-NaDirectory and remove-NaFile

FranciscoHH
3,217 Views

Hello, It´s possible to recurse delete files and directories with powershell toolkit, directly in the filer?

Thanks

2 REPLIES 2

cknight
3,217 Views

Hello, Francisco.  Remove-NaDirectory doesn't offer recursion, but you could use the DataONTAP provider to do that.  Because it uses file system semantics, the -Recurse switch on Remove-Item may work for you.

FranciscoHH
3,217 Views

Thanks,

I try to find a way to delete directories with thousand suddirectories and files, directly in filer, using the smaller network connection from a Windows machine.

Public