Gort, the galactic policeman (See the last blog.), would be able to target the weapon systems of the combatants and disintegrate them.
The police force has the most advanced psychotronic weapons in the galaxy. It's literally fitted to attack certain types of adversaries like destructive AIs and negative ETs.
Humans would not be harmed by this weapon. Against AI it would act like a virus. Against other adversaries, it would collect images of what they wanted to do to others and then boomerang it back into their minds as strong delusions (You will reap what you sow). You might call this the Twilight Zone/Holodeck weapon.
The enemies of mankind may try to use parts of mankind like hostages or human shields. It takes intelligent planning to get around this and take out the enemy without harming the hostages like in the TV series "Flashpoint".