We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d36d2a + 8086106 commit 266b4a0Copy full SHA for 266b4a0
Community Scripts/toggle-VDD.ps1
@@ -8,7 +8,7 @@
8
}
9
10
11
-$device = get-pnpdevice -class Display -FriendlyName 'IddSampleDriver Device HDR' -ErrorAction SilentlyContinue
+$device = Get-PnpDevice -Class Display -ErrorAction SilentlyContinue | Where-Object { $_.FriendlyName -eq 'IddSampleDriver Device HDR' -or $_.FriendlyName -eq 'Virtual Display Driver' }
12
13
if ($device) {
14
if ($device.Status -eq 'OK') {
0 commit comments