Re: howto create XP SP2 query
- From: lee.james@xxxxxxxxxxxxx
- Date: 19 May 2005 13:46:05 -0700
Hi Kim,
It's working now. I guess it just took overnight before everything got
'synched up'.
Thanks for all your help. One final question?
How would I rewrite the SQL syntax to create a Web Report?
Here's the 'code':
select distinct SMS_G_System_ADDREMPROGS.DisplayName from SMS_R_System
inner join SMS_G_System_OPERATING_SYSTEM on
SMS_G_System_OPERATING_SYSTEM.ResourceID = SMS_R_System.ResourceId
inner join SMS_G_System_ADDREMPROGS on
SMS_G_System_ADDREMPROGS.ResourceID = SMS_R_System.ResourceId where
SMS_G_System_OPERATING_SYSTEM.Caption = "Microsoft Windows XP
Professional" and SMS_G_System_OPERATING_SYSTEM.CSDVersion = "Service
Pack 2"
Thx,
J.
Kim Oppalfens wrote:
> Try forcing another hardware inventory on the client and see whether
> entries show up in Resource explorer. As long as they are not
available
> the query will most likely fail since the classes don't exist yet.
>
> Do you see a table in the sms database that contains addremprogs_data
&
> addremprogs_hist?
>
> Kim Oppalfens
> MVP SMS
> In article <1116452271.743778.130980@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
> lee.james@xxxxxxxxxxxxx says...
> > Hi Kim,
> >
> > I installed the Web Reporting tool (from the Admin feature pack)
and it
> > installed fine - I can run the web reports no problem. I also
verified
> > that it updated the sms_def.mof and I verified on a client that I
> > forced a hardware inventory on that it compiled the new mof file
> > successfully.
> >
> > I then entered your query again and it didn't give me a syntax
error.
> > However, now when I run the query I get a WBEM_E_INVALID_QUERY
pop-up.
> >
> > I also noticed that in going through the Hardware inventory for the
> > client I forced an update on, I don't see any new entries related
to
> > add/remove programs.
> >
> > Any ideas?
> >
> > J.
> >
> >
>
> --
> Kim Oppalfens
> SMS MVP
.
- References:
- Re: howto create XP SP2 query
- From: lee . james
- Re: howto create XP SP2 query
- From: Kim Oppalfens
- Re: howto create XP SP2 query
- From: lee . james
- Re: howto create XP SP2 query
- From: Kim Oppalfens
- Re: howto create XP SP2 query
- From: lee . james
- Re: howto create XP SP2 query
- From: Kim Oppalfens
- Re: howto create XP SP2 query
- From: lee . james
- Re: howto create XP SP2 query
- From: Kim Oppalfens
- Re: howto create XP SP2 query
- Prev by Date: Re: SMS Advanced Client Setup Errors / WMI, DCOM, BITS
- Next by Date: Help Writing a Report
- Previous by thread: Re: howto create XP SP2 query
- Next by thread: Re: howto create XP SP2 query
- Index(es):
Relevant Pages
|