Police have charged a man with firing a weapon at police on the weekend in Melbourne's outer east.