PowerShell script to check how many items are in the quarantine folder - Symantec
Here is a by request powershell script to check how many items are in Quarantine folder and you can easily merge it with my Previous Script to make it to work on multiple computers.
$a = new-object -comobject MSScriptControl.ScriptControl
$a.language = "vbscript"
$a.addcode("function getInput() getInput = inputbox(`"Enter Your Computer Name`",`"Computer Name`") end function" )
$strComputer= $a.eval("getInput")
Function GetQItems
{
$QFolder = "\\$strcomputer\c$\Documents and Settings\All Users\Application Data\Symantec\Symantec AntiVirus Corporate Edition\7.5\Quarantine"
$x = (get-childitem $QFolder).count
Write-host "There are currently" $x "items in Quarantine Folder on $strComputer!"
}
GetQItems