We earth ponies have all the natural resources to make combat rations, explosives (including surface-to-air missile launchers to combat the Pegasus air-force), weapons and ammunition, defensive structures and vehicles.
Even though I really wouldn't want to go up against the destructive magic of unicorns, if we can simply defend the food, water and medicine supply, I think it's gonna be a short war.