Snow Inventory Agent Script - Snow Inventory Java Scanner Launcher 1
Here you can find the release notes for Snow Inventory Agent Script - Snow Inventory Java Scanner Launcher 1.
1.1 latest
Release date: 2023-06-07
Compatible Versions
| Snow Inventory Agent for Windows | Microsoft PowerShell | Snow Inventory Java Scanner |
|---|---|---|
| Version 5 or later | Version 3 and later | Version 1 or later |
Information
The Scan-SIJSLauncher.snow-ps1 script looks for Java installations and launches the Snow Inventory Java Scanner. You can read more about the scanner at Snow Docs - Snow Inventory Java Scanner.
The Snow Inventory Java Scanner must be in the root layer of the Snow Inventory Agent folder.
The script looks for the Snow Inventory Java Scanner sijs.jar in the following paths:
$env:ProgramFiles\Snow Software\Inventory\Agent$env:snow_agent
It also checks for the SnowInventoryAgent5 service path using Get-WMIObject or Get-Service.
The script looks for the snowagent.config file in the identified agent paths and extracts the value of the env.java_home setting, if set. This is then used as first java source.
The script checks the following paths for Java Installations:
$env:ProgramFiles(x86)\Common Files\Oracle\Java\javapath\java.exe$env:ProgramFiles\Common Files\Oracle\Java\javapath\java.exe$($env:JAVA_HOME)bin\java.exe$env:ProgramFiles\Java\jre6\bin\java.exe$env:windir\System32\java.exe
The script checks the following registry locations for javahome paths:
HKLM:\SOFTWARE\JavaSoft\Java Runtime EnvironmentHKLM:\SOFTWARE\JavaSoft\Java Development Kit
Furthermore, it uses the Get-Command CmdLet to identify existing Java installations.
Once it identified sijs.jar and java.exe, the script starts the Snow Inventory Java Scanner using the identified Java installation.
It returns the script manifest using the name Scan-SIJSLauncher.
New
- Added feature to utilize the
env.java_homesetting of the Snow Inventory Agent config file. (IDEAS-I-2129)
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.