Snow Inventory Agent Script - Snow Inventory Oracle Middleware Scanner Launcher 1
Here you can find the release notes for Snow Inventory Agent Script - Snow Inventory Oracle Middleware Scanner Launcher 1.
1.4 latest
Release date: 2023-06-07
Compatible Versions
Snow Inventory Agent for Windows | Microsoft PowerShell | Snow Inventory Oracle Middleware Scanner |
---|---|---|
Version 5 or later | Version 3 and later | Version 1 or later |
Information
The Scan-SIOMSLauncher.snow-ps1
script looks for Java installations and launches the Snow Inventory Oracle Middleware Scanner. You can read more about the scanner at Snow Docs - Snow Inventory Oracle Middleware Scanner.
The Snow Inventory Oracle Middleware Scanner must be in the root layer of the Snow Inventory Agent folder.
The script looks for the Snow Inventory Oracle Middleware Scanner snowmiddlewarescanner.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 Environment
HKLM:\SOFTWARE\JavaSoft\Java Development Kit
Furthermore, it uses the Get-Command
CmdLet to identify existing Java installations.
Once it identified snowmiddlewarescanner.jar
and java.exe
, the script starts the Snow Inventory Oracle Middleware Scanner using the identified Java installation.
It returns the script manifest using the name Scan-SIOMSLauncher
.
New
- Added feature to utilize the
env.java_home
setting 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.