Skip to main content

Snow Inventory Agent Script - Microsoft .Net Framework version information 2

Here you can find the release notes for Snow Inventory Agent Script - Microsoft .Net Framework version information 2.


2.0.0 latest

Release date: 2024-06-19

(DIS-5477)

Compatible Versions

Snow Inventory Agent for WindowsMicrosoft PowerShell
5 or later3 and later

Information

The scan-dotnetframework.ps1 is developed to facilitate the retrieval of .NET Framework version data from the Windows registry on local machines. By analyzing the registry entries for .NET Framework installations, the script aims to provide detailed information on the installed versions, 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. Otherwise the results will not be included in the snowpack.

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-dotnetframework.ps1 -Debug -InformationAction 'Continue'.

Function

The script retrieves the active .NET Framework version from the registry and traverses specified registry paths to detect installed .NET Framework versions. It includes the following steps:

Retrieve Active Version: Queries the registry to get the active .NET Framework version.
Traverse Registry Paths: Iterates through specified registry paths to find installed .NET Framework versions.
Log Findings: Logs the discovered .NET Framework installations, including version and status (active or inactive).
The default registry paths targeted by the script are:

  • HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP*\Full
    The script logs detailed information about each detected .NET Framework installation, including whether it is the active version.

It returns the script manifest using the name scan-dotnetframework.

MediumIntegrity

This script does not require medium integrity.

NEW

  • Snow Inventory Agent for Windows 7 support.
  • The script is now signed by Snow Software AB.
  • Rewritten the script and removed parameters to check for old versions of .NET Framework. Added support for active version only.

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.