Skip to content

Commit

Permalink
Merge pull request #217 from zjoasan/patch-1
Browse files Browse the repository at this point in the history
Update toggle-VDD.ps1
  • Loading branch information
itsmikethetech authored Dec 17, 2024
2 parents 0d36d2a + 8086106 commit 266b4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Community 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 266b4a0

Please sign in to comment.