Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

Powershell Version

Does anyone have a collection to find out which version of powershell each client pc has?

Thanks,

Phil

0

Comments

7 comments
Date Votes
  • Hi Phil,

    It took a while but I think I've got it nailed down for you. You'll need PDQ Inventory 2.1.2 (or higher) running in Pro mode. Import the attached XML files into PDQ Inventory. (File > Import)

    Scan your target machines using the Powershell Versions scan profile.

    ScanPowershellProfile.png

     

    After the scan is complete go to your PowerShell collection (where ever you imported it). This collection will contain all computers that have any version of Powershell. The two sub collections (PowerShell 2.0 and PowerShell 3.0) will contain computers which only have those respective versions. I didn't create a collection for PowerShell 1.0.

    There is also a report called PowerShell Versions. I just thought I'd include it.

    The Scan Profile contains a registry scanner. It scans the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell registry key. 

    Note that for the PowerShell 2.0 collection I have filtered out computers that have PowerShell 3.0. Technically these systems do have 2.0 but I wanted to isolate those computers that only had 2.0 and not 3.0.

    0
  • You guys are AWESOME!!!!! Thank you very very much. This is why I recommend both PDQ Deploy and PDQ Inventory to anyone who needs patch and inventory management. The support end users get is the best in the business.

    Thanks Again

    Phil

     

     

    0
  • Fantastic....I was looking for a way to do this but was having issues since I didn't have the specific scan.

    I would recommend adding this to the product by default.
    I added an extra entry to scan for version 4.0 as well.

    Thanks again.

    0
  • I too would like to see Powershell Version added by default.

    0
  • I do not see the XML attached. I am trying to recreate the PowerShell Scan. Thanks.

    0
  • @Enoch Tang

    PDQ Inventory has come with a PowerShell collection since version 8. PowerShell Version is picked up in the default scan.

    0
  • I completely missed that. Thank you so much.

    0