In my garage workshop I have a power inverter for emergency use. One the other side of one wall is the utility room where I need the emergency power. I want to pass the power through the wall to avoid running an extension cord theough the door.
My plan is to install a duplex outlet on both sides of the wall and wire them together. There will be an extension cord with a male plug at each end; one plug will connect to the inverter and the other will connect to the outlet in the shop. I can pass the electricity through the wall and connect extension cords in the utility room to use as needed.
Does this plan violate any building code? Does this sound ok to do? Is there a better way to do this?
See attached diagram.
Thanks for your nelp.