MonitorConfig
2.2.0
Manage brightness and other monitor settings with DDC/CI and WMI.
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2023 MartinGC94. All rights reserved.
Package Details
Author(s)
- MartinGC94
Tags
Display Monitor Settings Options Configuration Config DDC DDC/CI MCCS Brightness Contrast
Cmdlets
Get-MonitorBrightness Get-MonitorColorSettings Get-Monitor Get-MonitorDetails Get-MonitorInput Get-MonitorVCPResponse Reset-MonitorSettings Save-MonitorSettings Set-MonitorBrightness Set-MonitorColorSettings Set-MonitorInput Set-MonitorVCPValue
PSEditions
Dependencies
This module has no dependencies.
Release Notes
2.2.0:
Added Get-MonitorInput and Set-MonitorInput cmdlets for reading/setting the input source. (Thanks @yotsuda)
Made the parameter attributes used for MonitorConfig commands public.
They can be found in the [MartinGC94.MonitorConfig.API.ParamAttributes] namespace.
They are intended to be used on parameters for custom functions that wrap specific VCP codes to make the UX similar to official MonitorConfig commands.
Updated the completer used for VCP exclusive commands so that it excludes WMI managed displays from the completion results.
Improved the error handling by catching more terminating errors and by throwing specific "ApiException" errors rather than the generic "System.Exception" errors.
2.1.0:
Updated the errors to be more descriptive when failing to fetch monitors.
2.0:
Added an argument transformer and argument completer to the "Monitor" parameter for all commands.
This allows users to specify the monitors with the device name like: Set-MonitorBrightness -Monitor \\.\DISPLAY1 -Value 10
Added position 0 to the Monitor parameter for all commands with that parameter.
Other positional parameters have been bumped up by 1 as needed.
Added position 0 to the DeviceName parameter for the Get-Monitor command.
1.0.3:
Fix index out of bounds error for Get-Monitor when an attached monitor is disabled.
1.0.2:
Remove ValidateRange attributes from the Value and ALSBrightness parameters of Set-MonitorBrightness.
Don't throw when scanning for VCP features, unless the monitor handle is closed.
1.0.1:
Add positions for various parameters.
1.0:
Initial release.
FileList
- MonitorConfig.nuspec
- MonitorConfig.deps.json
- MonitorConfig.dll
- MonitorConfig.psd1
- MonitorConfigFormat.ps1xml
- en-US\MonitorConfig.dll-Help.xml