/build/static/layout/Breadcrumb_cap_w.png

Scripting a reg query to collect info on App through SCCM

I have been asked by management to create a report on forefront definition versions in our environment. Whether this makes sense or not, doesn't really matter to those asking for it.

My hope is to have a script that runs against all systems (through a job in SCCM) with this forefront installed, that would query the reg key and then create a executable file based off of the key value, to a particular folder. SCCM inventories executables, so creating an exe with this info would be an easy way for me to run reports against the systems.

Can anyone help me out with creating a script for this? It doesn't seem like it should be too big of a deal, but most of the scripts I have found are just piping the information to a txt file that resides on a share. This would be possible, but I would have to parse through a lot of information when really I just want quick snapshots of what the version is in my environment.

HKLM\SOFTWARE\Microsoft\Microsoft Forefront\Client Security\1.0\AM\Signature Updates\AVSignatureVersion <-- is the key I need to query against.

Any help would be awesome!

0 Comments   [ + ] Show comments

Answers (3)

Posted by: ditch_nz 14 years ago
Purple Belt
0
can't you just run an sccm report based on the registry key?
we've modified the SCCM .MOF files to grab the registry keys for the SOE version and dump it into a table, which we then run a report from...
Scope this
http://scug.dk/blogs/configurationmanager/archive/2009/10/21/how-to-get-registry-information-into-hardware-inventory.aspx
Posted by: borrows123 13 years ago
Yellow Belt
0
I think that there is a registration key problem....Ask your service provider to solve this....
Posted by: pjgeutjens 13 years ago
Red Belt
0
Just a thought...

since you're using SCCM and I assume you can request status codes for your distributions on the machines, why not have your script/exe fail (yes fail) with an error code from which you can deduct the version?

like say version 1.0.0 fails with code 100, 1.0.1 fails as 101, etc etc

you could then report on exit codes

my 2c

PJ
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ