Skip to main content

Snow Inventory Agent Script - Microsoft Office products information 1

Here you can find the release notes for Snow Inventory Agent Script - Microsoft Office products information 1.


1.4 latest

Release date: 2023-05-03

Compatible Versions

Snow Inventory Agent for WindowsMicrosoft PowerShell
5 or later3 or later

Information

The scan-msinfo.snow-ps1 script enhances the default scanning capabilities of the Snow Inventory Agent and allows the Software Recognition Service a more precise identification of installed Microsoft Office 365 and MSDN products editions.

This script was developed to enhance recognition of:

  • Project and Visio, if Installed through the Office 365 distribution and MS Portal.
  • MSDN recognition
  • In-depth gathering of ProductReleaseIDs to enhance MS Office 2016/2019 & 365 recognition
  • If the product has been deployed and installed with the Click-to-Run option

This script must be executed as part of the Snow Inventory Agent for Windows, according to the Snow online documentation portal topic “Running PowerShell scripts as part of the scanning process” (https://docs.snowsoftware.com/snow-inventory/en/UUID-e3347090-a773-a05d-2e2c-ce197cd00a26.html#UUID-e3347090-a773-a05d-2e2c-ce197cd00a26_section-idm4654689347998432654961020269 ).

In the case that you want to run a manual scan, this script must be executed with appropriate permissions, so execute it using only “sc.exe control SnowInventoryAgent5 128”, as described in the online Help topic “Command line” (https://docs.snowsoftware.com/snow-inventory/en/UUID-50e53305-fd4c-eca1-94c8-c08949b593f0.html )

The script harvests the Microsoft ClickToRun information, we utilize the Get-ItemProperty cmdlet in PowerShell to retrieve the ProductReleaseIDs and ClientVersionToReport from the registry entry down below and then send that in a raw data form through the Inventory agent. ClickToRun registry path:

  • HKLM:\SOFTWARE\Microsoft\Office\ClickToRun\Configuration

The script scans and reports a data row to DIS for a viewer mode key; when this key is present, certain Microsoft Office products (such as Visio and Project) are recognized as “No License Required”. Registry value location:

  • HKLM:\SOFTWARE\Policies\Microsoft\office\16.0\common\licensing

With the found details, the script creates different software rows in the scan result.

Correction

  • The script now handles the case of empty Viewer Mode nodes in the registry. (04691238)


Flexera does not own the third party trademarks, software, products, or tools (collectively, the "Third Party Products") referenced herein. Third Party Product updates, including user interface updates, may not be reflected in this content.