Snow Inventory Agent Script - Windows update details for Snow Risk Monitor 1
Here you can find the release notes for Snow Inventory Agent Script - Windows update details for Snow Risk Monitor 1.
1.0.0 latest
Release date: 2024-03-06
Compatible Versions
Snow Inventory Agent for Windows | Microsoft PowerShell |
---|---|
Version 5 or later | Version 3 and later |
Information
The scan-windowsriskmonitor.ps1
script collects additional data to enhance the accuracy of Microsoft® Windows® reporting in Risk Monitor.
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-windowsriskmonitor.ps1 -Debug -InformationAction 'Continue'
.
Function
The script utilizes the PowerShell CmdLet Get-Hotfix
the Com Object Microsoft.update.Session
to retrieve list of installed Hotfixes.
With the found details, the script creates CustomRegKey
rows within the scan result using RegKey="Scan-WindowsRiskMonitor"
.
The script also returns the following registry values using the Get-ItemProperty
CmdLet:
HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion
:CurrentBuildNumber
HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion
:UBR
HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion
:ReleaseId
HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion
:DisplayVersion
It returns the script manifest using the name Scan-WindowsRiskMonitor
.
MediumIntegrity
This script does need medium integrity to access the required ComObject and CmdLets.
Troubleshooting
Custom encryption might need to be applied to this script when running on Snow Inventory Agent for Windows prior to version 7, as it will not be executed in medium integrity.
NEW
- initial release
DEPRECATED
- This script makes the
Scan-Hotfixes.snow-ps1
obsolete for Snow Software Risk Monitor customers. If you are using any reports, built on the data created by that script, they require updates. Please reach out to Snow Software Professional Services, if you have any questions about that. - 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.