Skip to main content

Snow Inventory Agent Script - Windows PowerShell version 2

Here you can find the release notes for Snow Inventory Agent Script - Windows PowerShell version 2.


2.1.0 latest

Release date: 2024-05-08

COMPATIBLE VERSIONS

Snow Inventory Agent for WindowsMicrosoft PowerShell
5 or later3 and later

INFORMATION

The script Scan-PowerShellVersion.ps1 is designed to enhance and accurately detect installed versions of Microsoft PowerShell.

The script must be executed as part of the Snow Inventory Agent for Windows. For more information, see Running PowerShell scripts as part of the scanning process on Snow Docs.

If you want to run a manual scan, you must execute the script with the appropriate permissions. Execute using sc.exe control SnowInventoryAgent5 128, as described in the Windows Agent - Command line topic on Snow Docs.

FUNCTION

The script scans for information on major and minor versions stored in the default PowerShell variable PSVersionTable. It then outputs these details into structured software rows for further processing by the Snow Inventory Agent and Inventory Server.

The script manifest uses the name Scan-PowerShellVersion.

MediumIntegrity

This script does not need 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

COMPATIBLE VERSIONS

Snow Inventory Agent for WindowsMicrosoft PowerShell
5 or later3 and later

INFORMATION

The script Scan-PowerShellVersion.ps1 is designed to enhance and accurately detect installed versions of Microsoft PowerShell.

The script must be executed as part of the Snow Inventory Agent for Windows. For more information, see Running PowerShell scripts as part of the scanning process on Snow Docs.

If you want to run a manual scan, you must execute the script with the appropriate permissions. Execute using sc.exe control SnowInventoryAgent5 128, as described in the Windows Agent - Command line topic on Snow Docs.

FUNCTION

The script scans for information on major and minor versions stored in the default PowerShell variable PSVersionTable. It then outputs these details into structured software rows for further processing by the Snow Inventory Agent and Inventory Server.

The script manifest uses the name Scan-PowerShellVersion.

MediumIntegrity

This script does not need 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.