Quantcast
Channel: Active questions tagged multiple-monitors - Super User
Viewing all articles
Browse latest Browse all 718

Use powershell to set primary display in windows 10

$
0
0

I have a windows 10 laptop in the work office connected to a dell display. I have a remote desktop connection and ssh access.

Currently, the primary display is the laptop screen. Is there a way to change the primary display to the dell monitor?

Or change the display setting to mirroring.

DisplaySwitch.exe does not do anything. No error message either.

PS> Get-WmiObject -Namespace "root\WMI" -Class "WMIMonitorID"__GENUS                : 2__CLASS                : WmiMonitorID__SUPERCLASS           : MSMonitorClass__DYNASTY              : MSMonitorClass__RELPATH              : WmiMonitorID.InstanceName="DISPLAY\\BOE06F9\\4&15a49d7&0&UID265988_0"__PROPERTY_COUNT       : 9__DERIVATION           : {MSMonitorClass}__SERVER               : DESKTOP-VFR2B3O__NAMESPACE            : root\WMI__PATH                 : \\DESKTOP-VFR2B3O\root\WMI:WmiMonitorID.InstanceName="DISPLAY\\BOE06F9\\4&15a49d7&0&UID265988_0"Active                 : True# this is the laptop screen, I want to use display 2InstanceName           : DISPLAY\BOE06F9\4&15a49d7&0&UID265988_0ManufacturerName       : {66, 79, 69, 0...}ProductCodeID          : {48, 54, 70, 57...}SerialNumberID         : {48, 0, 0, 0...}UserFriendlyName       :UserFriendlyNameLength : 0WeekOfManufacture      : 38YearOfManufacture      : 2016PSComputerName         : DESKTOP-VFR2B3O
PS> Get-WmiObject win32_desktopmonitorDeviceID            : DesktopMonitor1DisplayType         :MonitorManufacturer :Name                : Default MonitorScreenHeight        :ScreenWidth         :DeviceID            : DesktopMonitor2DisplayType         :MonitorManufacturer : (Standard monitor types)Name                : Generic PnP MonitorScreenHeight        : 1080ScreenWidth         : 1920

Viewing all articles
Browse latest Browse all 718

Trending Articles