Easy-GPU-PV
Easy-GPU-PV copied to clipboard
The PreChecks.ps1 script won't print anything if you have an UPS
My desktop PC has a battery since it's plugged in to the UPS with USB.
Because of this Get-DesktopPC returns False despite my system being technically compatible.

Removing the condition block here will fix the issue: https://github.com/jamesstringerparsec/Easy-GPU-PV/blob/396f876e8c36610df6575f1a8f1f9e34415684a6/PreChecks.ps1#L11-L12
Replace it with
$PC = Get-ComputerInfo
If ($PC.CsPCSystemType -Eq 'Mobile' -Or $PC.PowerPlatformRole -Eq 'Mobile') {$IsDesktop = $False}
But yeah, Win32_Battery will catch UPS.
Thank you for posting this! I was wondering why it wasnt doing anything myself.