Question – I need some advice on what to do with cat6 distance.

I need to run some Cat6 from one building to another. It is going to be a 350 run, though.

The Cat6 cable will be powering a PoE camera on top of the building.
There is electricity at one building but not the other, so using a nano station at each site to run the network signal won’t work, which is why we are running the Cat6.

I know 350 feet, or actually a little more, is not going to work, so what can a person do? How does a person boost the Cat6 signal along the path?

I could put a weatherproof box at the 250-foot mark if needed to house a switch. Is there such a thing as a PoE switch that is run by PoE?

What do people do if they need a network signal over 325 feet away and do not have power at the destination site?