Not most military technology, which is designed to resist EMP. Has been every since we discovered the effect. Wouldn't do the civilian infrastructure any good though, and then we might win the first battle, and still lose the war. The civilian infrastructure ultimately supports the military too.
Read “One Second After”. It’s a novel based on a EMP attack.
I’m reading it now. Very scary to think about.
The military is probably not as hardened against EMP damage as we’d like to think. Civilians definitely are not.