discovery, swis, automation, powershell, applications

I was working on a powershell script to automate the discovery using script at "">". I was getting this output in screenshot. Is there is a way to exclude the import of Entity type Orion.APM.Application by making some changes in this script. Alternatively, Is there a way to turn off Orion.APM.Application import after running this script?