A big thanks to Skrommel as well then!
I searched for "keep the state of multiple screens when power is switched off" and this website was near the bottom of the first page.
I am using this project to fix issues inside my office which works great now, just a bit of background info should you want to read it on what i have been doing.
We have many multiple monitors in my head office which are connected to single computers that display information, how profitable we are etc using Power BI and Excel Dashboards.
So first issue was no one was turning the screens off, which meant we walk around the offices to make sure they went off at night, i fixed this issue with smart plugs to switch off at 7pm and on at 7am monday to friday.
Next issue was when power was restored at 7am on multiple monitors the windows was all on the primary screen.
So my solution was use nircmd to sleep and wake at the times above, this didnt work still. so i done some digging for software that will keep the state of the screens.
Which is when i came across this page and did a test and it worked, but my issue was still happening.
The way i have resolved it is, at 6:58pm, a scheduled task run with nircmd to put the computer into sleep (without this power is cut and WinPosSaver wont know the state of the windows). At 7am power is restored to the monitors and then at 7:02am, i send another task to wake the screen, WinPosSaver then re-arranges all the windows back for me.
I have some testing to do over the next week but if this works i will be rolling this out to all multiple monitors.
All this because people are lazy to switch a tv screen off!