How to turn off or disable non primary displays or monitors from command line

Is it possible in Windows 10 to turn off or disable non primary displays or monitors from command prompt or powershell using a command.

In my project I want to allow the user to use only one primary monitor during the execution of program.



Read more here: https://stackoverflow.com/questions/66998415/how-to-turn-off-or-disable-non-primary-displays-or-monitors-from-command-line

Content Attribution

This content was originally published by Instant Techy at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: