Display Control Center

Lenovo Display Control Center User guide

  • Hello! I am an AI chatbot trained to assist you with the Lenovo Display Control Center User guide. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
1
Lenovo Display Control Center WMI Usage
1. Overview
This document describes how the IT managers remotely operate the Lenovo monitors using WMI
scripts. The operations include querying basic information of the monitor, setting color
temperature, selecting input video source, turning on/off the monitor, and updating firmware.
Before use the below WMI classes, please check if the LenovoDisplayControlCenterService service
has been installed and is running in the client system, otherwise, deploy the Lenovo Display Control
Center application or LenovoDisplayControlCenterService service firstly through Windows
Endpoint Management system.
2. WMI Classes
The name space “root\Lenovo\Lenovo_Display includes a WMI class “DisplayDevice that
includes properties and methods to access the monitor. Use the following command under
PowerShell to view the properties of the class:
Get-WmiObject -Class DisplayDevice -Namespace "root\Lenovo\Lenovo_Display"
3. Example scripts of the operations
Here are example scripts to demonstrate how to operate the monitors remotely.
3.1 Query basic information of monitors
In the below script, specify computer names in the domain in variable “$pcs, delimiting them with
a comma “,.
$pcs='T-PC1','kk'
foreach ($pc in $pcs)
2
{
echo ("Computer: " + $pc)
$outputs=(Get-WmiObject -Class DisplayDevice -Namespace "root\Lenovo\Lenovo_Display"
-ComputerName $pc)
foreach ($output in $outputs)
{
echo ("ModelName: " + $output.ModelName)
echo ("MonitorIndex: " + $output.MonitorIndex)
echo ("MachineType: " + $output.MachineType)
echo ("SerialNumber: " + $output.SerialNumber)
echo ("FirmwareVersion: " + $output.FirmwareVersion)
echo ("ManufacturerName: " + $output.ManufacturerName)
echo ("MonitorEDID: " + $output.MonitorEDID)
echo ("CurrentPowerMode: " + $output.CurrentPowerMode)
echo ("SupportPowerMode: " + $output.SupportPowerMode)
echo ("CurrentPortUsing: " + $output.CurrentPortUsing)
echo ("InputSourceList: " + $output.InputSourceList)
echo ("CurrentColorMode: " + $output.CurrentColorMode)
echo ("ColorGamutList: " + $output.ColorGamutList)
echo ""
}
echo ""
echo ""
}
Pause
Running result of the script:
3
3.2 Set Color Temperature
In the below script, specify Color Temperature name in the variable “$input”, the color
temperature names supported of the monitor can be got from the querying result of example 3.1.
$pcs='T-PC1','kk'
$input='sRGB'
foreach ($pc in $pcs)
{
echo ("Computer: " + $pc)
$outputs=(Get-WmiObject -Class DisplayDevice -Namespace "root\Lenovo\Lenovo_Display"
-ComputerName $pc)
foreach ($output in $outputs)
{
echo ("Set " + $output.ModelName + " Color Gamut " + $input)
$result=($output.SetColorGamut($input))
if ($result.ReturnValue -eq 0)
{
echo ("Result OK")
}
else
{
echo ("Result Error")
}
}
4
echo ""
}
Pause
Running result of the script:
The target computer will show a notification that the display attribute has been modified.
3.3 Set video input source
In the below script, specify video input source name in the variable “$input, the video input source
names supported by the monitor can be got from the querying result of example 3.1.
$pcs='T-PC1','kk'
$input='HDMI2'
foreach ($pc in $pcs)
{
echo ("Computer: " + $pc)
$outputs=(Get-WmiObject -Class DisplayDevice -Namespace "root\Lenovo\Lenovo_Display"
-ComputerName $pc)
foreach ($output in $outputs)
{
echo ("Set " + $output.ModelName + " Input Source " + $input)
$result=($output.SetInputSource($input))
if ($result.ReturnValue -eq 0)
{
echo ("Result OK")
}
else
{
echo ("Result Error")
5
}
}
echo ""
}
Pause
Running result of the script:
3.4 Set power mode
In the below script, specify power mode name in the variable “$input, the power mode names
supported by the monitor can be got from the querying result of example 3.1.
$pcs='T-PC1','kk'
$input='Off'
foreach ($pc in $pcs)
{
echo ("Computer: " + $pc)
$outputs=(Get-WmiObject -Class DisplayDevice -Namespace "root\Lenovo\Lenovo_Display"
-ComputerName $pc)
foreach ($output in $outputs)
{
echo ("Set " + $output.ModelName + " Power Mode " + $input)
$result=($output.SetPowerMode($input))
if ($result.ReturnValue -eq 0)
{
echo ("Result OK")
}
else
{
echo ("Result Error")
}
}
echo ""
}
Pause
6
Running result of the script:
3.5 Firmware update
The below script demonstrates how to update the monitor firmware remotely. Specify the
firmware image path in variable “$input, and share the parent path of the image.
$pcs='T-PC1','kk'
$input='\\kk\SharePkg\Test_FWInstaller.zip'
foreach ($pc in $pcs)
{
echo ("Computer: " + $pc)
$outputs=(Get-WmiObject -Class DisplayDevice -Namespace "root\Lenovo\Lenovo_Display"
-ComputerName $pc)
foreach ($output in $outputs)
{
echo ($output.ModelName + " Update FW " + $input)
$result=($output.InstallFWWMIFile($input))
if ($result.ReturnValue -eq 0)
{
echo ("Result OK")
}
else
{
echo ("Result Error")
}
}
echo ""
}
Pause
Running result of the script:
7
Target computer will show the updating progress.
/