You're in luck. I literally just made an account for the forum to add it as an example and then I saw your post so thought I'd put it as a reply.

Project flyout- %windir%\System32\DisplaySwitch.exe

PC screen only- %windir%\System32\DisplaySwitch.exe /internal

Duplicate- %windir%\System32\DisplaySwitch.exe /clone

Extend- %windir%\System32\DisplaySwitch.exe /extend

Second screen only- %windir%\System32\DisplaySwitch.exe /external