如下:
$monitor = Get-CimInstance -Namespace root/WMI -ClassName WmiMonitorBrightnessMethods
Invoke-CimMethod -InputObject $monitor -MethodName wmisetBrightness -Arguments @{Timeout= '10'; Brightness='25'}
标签:monitor,--,CIM,powershell,cmdlet,PowerShell From: https://www.cnblogs.com/refiz/p/17538374.html参考 https://learn.microsoft.com/zh-cn/powershell/module/cimcmdlets/invoke-cimmethod?view=powershell-7.2