Skip to content

Instantly share code, notes, and snippets.

@alimbada
Created August 8, 2024 22:07
Show Gist options
  • Save alimbada/1c8b3792bde0cea08ba0cd32fcfd02a9 to your computer and use it in GitHub Desktop.
Save alimbada/1c8b3792bde0cea08ba0cd32fcfd02a9 to your computer and use it in GitHub Desktop.
Restart GPU
# Use Get-PnpDevice with no parameters to get the name of the device
Get-PnpDevice -FriendlyName "AMD Radeon RX 6700" | Disable-PnpDevice -Confirm:$false ; Sleep -Seconds 5; Get-PnpDevice -FriendlyName "AMD Radeon RX 6700" | Enable-PnpDevice -Confirm:$false
@alimbada
Copy link
Author

alimbada commented Aug 9, 2024

Run as Admin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment