Blocking PowerShell scripts instead of PowerShell itself?

I’ve noticed increase in people complaining over Avast (or AVG) blocking PowerShell when they ran some script that was considered suspicious by Avast, but instead of blocking script it blocked PowerShell with o mention of the script. Would there be a way to change this behavior so Avast would be able to actually point at and block the offensive script and not PowerShell itself?