The following line in PowerShell works (brightness changes to 30):
(Get-WmiObject -Namespace root\\wmi -Class WmiMonitorBrightnessMethods).WmiSetBrightness(0,