Skip to content

Commit

Permalink
Update toggle-VDD.ps1 since jocke didnt
Browse files Browse the repository at this point in the history
  • Loading branch information
bud3699 authored Dec 22, 2024
1 parent 8661224 commit a27a0a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion input/scripts/toggle-VDD.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
}

$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' }

if ($device) {
if ($device.Status -eq 'OK') {
Expand Down

0 comments on commit a27a0a0

Please sign in to comment.