'Preventative' medications are not a good idea. Treating what might happen can cause serious problems--anywhere from irritation to the gills and slime coat of the fish, to a complete wipe out of the bacterial populations in the tank. Very bad things. Treat when there is a problem--not before. For ich specifically, it's a parasite. If it wasn't in the tank before the power outage or any other stress event, it will not suddenly appear.
For power outages--best bet for the fish is to ensure that the tanks are lightly stocked. Over stocked tanks can go bad very quickly without a running filter, while lighter stocks do better (less waste production, less oxygen use). If you expect long term power outages, this is even more crucial. Tropical tanks can be helped by covering/wrapping them with a blanket to reduce temperature dips, reduce feeding to reduce waste production, and plan for daily small water change. Battery operated air pumps (commonly available in fishing departments for live bait) can help with gas exchange. If you have enough invested in an aquarium, purchasing a generator is your best bet. I have one, just in case, that will run the pumps and some lighting for my SW setups, and the filters only for the FW systems.