750up POE on/off script

What script i need to set the POE on/off from interface ether2 example
can this by done

for power off
interface ethernet poe set poe-out=off ether5for power on
interface ethernet poe set poe-out=auto-on ether5or
interface ethernet poe set poe-out=forced-on ether5

Thats realy funny.

These are terminal commands not scripts.

make script with these commands and schedule when you want it to run.

Thanks guys, this will definitely work.
I’ll try it out when I have the rb750up

Working like a charm
Thanks c0d3rSh3ll

I’m trying to do something similar here and I am brand new to scripting. I am wanting to turn the poe power on and off at designated times on a per port basis. Would you be willing to share your actual scripts and/or does anyone else have a good way of doing this. There are certain devices attached to some of these ports and everything is running on solar power so I am looking at ways to conserve power when devices are not needed.