Forum Discussion
TylerWallace
Mar 04, 2025Bronze Contributor
powershell variable multiple output choice
i tried googling how to do this, but the results think im asking something else. its hard to word what im trying to do in a search line. theres a string expression in this script that can output two monitors if they are both hooked up.
$DisplayPath = "EDID_{0}_{1}_{2}_{3}" -f $Manufacturer, $ProductID, $Model, $DisplayPathDigitis there an way to allow a choice selection for a variable that can have multiple output?
1 Reply
- LuccaskIron Contributor
This command fetches information about your monitors using the WMI (Windows Management Instrumentation) class WmiMonitorBasicDisplayParams. You can get details about the connected monitors with this command.