I'm looking for some resources on creating more in-depth SMS queries... We've already customized our sms_def.mof, and I can already do your usual. But I'd like to find a reference for the data model so I can do things like query the package properties (say, look for packages/programs that don't have the "Suppress program notifications" flag checked) and syntax specifics so I can do date/time calculations. Anyone have some tips for me? Thanks all--
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Well the reporting is very much version specific due to the interfaces provided and with the database schema always getting changed. With 2.0 you are better off getting to know SQL if you really want to do some complex reporting. Here are some links for 2.0 but if you are asking about 2003 well I haven't gone there yet but I am assuming the schema changed again.

http://www.myitforum.com/articles/1/view.asp?id=1447

http://www.myitforum.com/articles/1/view.asp?id=849
Answered 10/22/2004 by: kkaminsk
Ninth Degree Black Belt

Please log in to comment
0
Thanks, kkaminsk... I neglected to mentioned that we're on SMS 2003 SP1. Those tools would be quite handy for v2.0, no doubt.

Since my post yesterday I've learned a little bit more on the relationship between the underlying WMI model of SMS 2003 and querying with WQL and SQL, and hopefully this will help me take better advantage of the SDK resources. Fun stuff...!
Answered 10/22/2004 by: ewall
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity