ONTAP Discussions

How To Deleted File Flagged With Virus

EdS
2,190 Views

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
2,153 Views

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
2,154 Views

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

 

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

 

Public