ONTAP Discussions

How To Deleted File Flagged With Virus

EdS

We are running ONTAP V9.6P2 on FAS clusters.  We have Trend as our anti-virus scanner.  When a file gets flagged as containing a virus the filer prevents the file from being accessed by Windows clients.  How would we remove such files if they cannot be accessed via the Windows client? Is the only option to remove them using the diag ID in the system shell?

1 ACCEPTED SOLUTION

donny_lang

Could you remove them with the "Remove-NcFile" cmdlet from the PowerShell Toolkit? 

 

Connect-NcController <Hostname> 
Remove-NcFile -Path <file path> -VserverContext <SVM>

 

View solution in original post

1 REPLY 1

donny_lang

Could you remove them with the "Remove-NcFile" cmdlet from the PowerShell Toolkit? 

 

Connect-NcController <Hostname> 
Remove-NcFile -Path <file path> -VserverContext <SVM>

 

View solution in original post

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