Microsoft Virtualization Discussions

Recurse remove-NaDirectory and remove-NaFile

FranciscoHH

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

Thanks

2 REPLIES 2

cknight

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

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.

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public