Try this instead of rolling your own: multi_monitor_tool.html
Powershell script to arrange displays
Hi experts, since I'm working from home with a remote desktop system, whenever the internet connection drops out, the computer arranges the monitors in the wrong way and I have to manually rearrange them in the correct order using 'Display' settings. It's a limitation of the PC-over-IP box I've got from my employer, so no help switching the monitor cables around. Is there a powershell command to rearrange the displays? Thanks Wim Schalley
2 answers
Sort by: Most helpful
-
-
Ian Xue-MSFT 41,711 Reputation points Microsoft External Staff
2020-10-22T05:54:36.017+00:00 Hi,
This may help you get started
https://superuser.com/questions/1358092/automate-arrangement-of-multiple-displays-in-windows-10Best Regards,
Ian============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.