Find Windows 11 Compatible Devices With PDQ Inventory - Issue checking CPU

Hi, I'm trying to run the Windows 11 Minimum Requirements PowerShell Script for PDQ Inventory from this article and running into an issue with the first phase, the CPU check. If I comment the entire CPU section out the script runs ok. If I leave it in the script hangs and eventually times out without returning any data.  Not really finding anything in the Win AdminArsenal logs on the client that can point me in the direction of why this might be failing, just a lot of: "Waiting for process to end..." in the Service.Log.

IE 11 is stripped from my Win 10 machines.  I tried adding this feature back on a test system and the script still timed out.

Are there any logs or does anyone have any suggestions of what I can look for to find out why this script is failing when running the CPU checks?



1 comment
Date Votes
  • To add to this, I've narrowed the issue down to the Invoke-WebRequest lookups against the Microsoft sites.  If these commands are run individually after a while a pop-up occurs about an error in a script on the page. Have to manually click Yes to close for the command to complete.  To work around this I added the Text only version of Google's cached copy of these sites. Not ideal as the page is not going to update as compatible CPUs added.

    Anyone have any pointers that I can try to get the InvokeWebRequest to work against the live Microsoft sites to bypass the script error on these pages?


Please sign in to leave a comment.

Didn't find what you were looking for?

New post