Skip to main content

Snow Inventory Agent Script - Snow Inventory Oracle Hardware Scanner Launcher 1

Here you can find the release notes for Snow Inventory Agent Script - Snow Inventory Oracle Hardware Scanner Launcher 1.


1.1 latest

Release date: 2023-06-07

(OM-974)

Compatible Versions

Snow Inventory Agent for WindowsMicrosoft PowerShellSnow Inventory Oracle Hardware Scanner
Version 5 or laterVersion 3 and laterVersion 1 or later

Information

The Scan-SIOHWSLauncher.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 Hardware Scanner.

The Snow Inventory Oracle Hardware Scanner must be in the root layer of the Snow Inventory Agent folder.

The script looks for the Snow Inventory Oracle Hardware Scanner siowhs.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 siohws.jar and java.exe, the script starts the Snow Inventory Oracle Hardware Scanner using the identified Java installation.

It returns the script manifest using the name Scan-SIOHWSLauncher.

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.