Skip to main content

Snow Inventory Agent Script - Microsoft System Center Configuration Manager version 2

Here you can find the release notes for Snow Inventory Agent Script - Microsoft System Center Configuration Manager version 2.


2.1.0 latest

Release date: 2024-05-08

(SIT-3710)

Compatible Versions

Snow Inventory Agent for WindowsMicrosoft PowerShell
5 or later3 and later

Information

The script Scan-MicrosoftFullVersions.ps1 is developed to facilitate the retrieval of software-related data from specific executables on local machines. It primarily targets the detection of three specific executables: Microsoft.ConfigurationManagement.exe, smsexec.exe, and ccmexec.exe. By analyzing these executables, the script aims to provide additional custom software data, enhancing the efficiency of software management processes.

The script must be executed as part of the Snow Inventory Agent for Windows, according to the topic Running PowerShell scripts as part of the scanning process on Snow Docs.

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 Windows Agent - Command line topic on Snow Docs.

For debugging purposes, the script can be executed manually and supports common parameters, so you will receive detailed logs using the command Scan-MicrosoftFullVersions.ps1 -Debug -InformationAction 'Continue'.

Function

Initially, the script traverses designated folders on the local machine to search for specific executables: Microsoft.ConfigurationManagement.exe, smsexec.exe, and ccmexec.exe. These folders include the default system paths where these executables are typically located.

With the recent enhancement, the script now includes an additional folder to search fields: "d:\ntapps\ccm*". This expanded search scope enables the script to comprehensively scan through the specified directory and its subfolders for relevant executables.

Upon detecting the specified executables in the designated folders, the script proceeds to extract additional custom software data associated with them. This data may encompass version information, installation status, or any other pertinent details pertinent to the identified executables.

MediumIntegrity

This script does need medium integrity to find access registry hives of other users.

Troubleshooting

Custom encryption might need to be applied to this script when running on Snow Inventory Agent for Windows prior to version 7, as it will not be executed in medium integrity.

CORRECTIONS

  • File encoding changed to UTF-8-BOM to prevent HashMismatch errors (04771125).

DEPRECATED

  • There will be no encrypted snow-ps1 version of this script provided by Snow Software.

2.0

Release date: 2024-02-08

(DIS-5141)

Compatible Versions

Snow Inventory Agent for WindowsMicrosoft PowerShell
5 or later3 and later

Information

The script Scan-MicrosoftFullVersions.ps1 is developed to facilitate the retrieval of software-related data from specific executables on local machines. It primarily targets the detection of three specific executables: Microsoft.ConfigurationManagement.exe, smsexec.exe, and ccmexec.exe.
By analyzing these executables, the script aims to provide additional custom software data, enhancing the efficiency of software management processes.

The script must be executed as part of the Snow Inventory Agent for Windows, according to the topic Running PowerShell scripts as part of the scanning process on Snow Docs.

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 Windows Agent - Command line topic on Snow Docs.

Function

Initially, the script traverses designated folders on the local machine to search for specific executables: Microsoft.ConfigurationManagement.exe, smsexec.exe, and ccmexec.exe. These folders include the default system paths where these executables are typically located.

With the recent enhancement, the script now includes an additional folder to search fields: "d:\ntapps\ccm*". This expanded search scope enables the script to comprehensively scan through the specified directory and its subfolders for relevant executables.

Upon detecting the specified executables in the designated folders, the script proceeds to extract additional custom software data associated with them. This data may encompass version information, installation status, or any other pertinent details pertinent to the identified executables.

MediumIntegrity

This script does need medium integrity to find access registry hives of other users.

Troubleshooting

Custom encryption might need to be applied to this script when running on Snow Inventory Agent for Windows prior to version 7, as it will not be executed in medium integrity.

NEW

  • Snow Inventory Agent for Windows 7 support.
  • The script is now signed by Snow Software AB.

DEPRECATED

  • There will be no encrypted snow-ps1 version of this script provided by Snow Software.

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.