ONTAP Discussions

Highlighted

How To Deleted File Flagged With Virus

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 REPLY 1
Highlighted

Re: How To Deleted File Flagged With Virus

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

Check out the KB!
Knowledge Base
All Community Forums