-
Notifications
You must be signed in to change notification settings - Fork 708
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collect Windows patch/update versions #267
Comments
Hi @muralikanagala! |
Hi @carlpett, wmi_patch_version{instance="my_instance", version="patch_version"} 1 Thanks! |
Maybe a better option is to use write a powershell script that creates a textfile output that can be pulled from the textfile collector for WMI Exporter. Maybe this script is a good starting point; https://gallery.technet.microsoft.com/scriptcenter/PowerShell-script-to-list-0955fe87 |
Thank you! |
This has already been discussed @breed808 |
Resolved in #1051 |
Unsure if I understand it correctly...it looks like #1051 didn't really resolve the initial request in this ticket, as it doesn't export revision number, which patch/update info is supposed to tie with. The major version, minor version and build number exported by #1051 cannot be used to monitor patching status. |
I think there's a little ambiguity in this issue on the required metric (revision/patch number), but I agree additional info for patching would be desirable. The |
Can somebody clarify how it would be possible to gather update/version status for windows hosts? |
The |
On windows10, I'm able to get the list of KB installed with: Get-WmiObject -Class win32_quickfixengineering | Select CSName, InstalledOn, Description, HotFixID, Caption,InstalledBy,ServicePackInEffect And get the list of installed "products" with: Get-WmiObject -Class win32_product | Select __SERVER, IdentifyingNumber, InstallDate, Caption, Vendor, Version, LocalPackage, InstallState Would that be a suitable source? |
This issue has been marked as stale because it has been open for 90 days with no activity. This thread will be automatically closed in 30 days if no further activity occurs. |
Did You find any solution for the same ?? |
My solution or workaround is to create a scheduled task to invoke a PS script to retrieve the revision number (UBR value) from the register and write into a text file to be exposed via The PS command to retrieve UBR value is The full PS script for scheduled task to retrieve UBR and write to text prom:
|
Hi there,
Is there a way to collect the current patch/update version of Windows using win32_quickfixengineering?
This would be really helpful in managing and monitoring the updates.
get-wmiobject -class win32_quickfixengineering
Thank you!
The text was updated successfully, but these errors were encountered: