Skip to main content

API script to report software version in org?

  • 4 February 2021
  • 1 reply
  • 84 views

Hi Guys,



Looking for a powershell script that utilizies the API to make a report based on a software title and its versioning… for example: Show me all machines who have VMWare Workstation installed, and what version they are running. I could find a bit of this info in software tab on the AX UI, but no way to export into a nice report for executives…



Thoughts? Thanks!

1 reply

Userlevel 4
Badge

Welp, my searching skills could use some work… looks like @Tony already had posted the solution to my question. Cheers!


This was originally written for a customer that wanted to see if every system in their environment had Sophos Antivirus installed or not - and what version if they did.
$apiKey = 'YOUR_API_KEY' - in your console, go to Settings->API and select the API key. Note that the API key is per admin user, so you and another admin in your console will have different API keys.
$orgID = 'YOUR_ORG_ID' - put in your Org ID which can be found by looking at the URL on the dashboard and selecting the value a…

 

Reply