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

Re: How To Deleted File Flagged With Virus

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

Earn Rewards for Your Review!
GPI Review Banner
All Community Forums
Public