Windows: Switch Display Output using command line and hot keys
Command line:
C:\Windows\System32\DisplaySwitch.exe /internal
C:\Windows\System32\DisplaySwitch.exe /externalSettings:
internal- PC/Laptop display onlyexternal- External display only
Hot key:
Win + P- cycle over display options