Re: SMS Collection question
- From: "Aaron Guilmette" <aguilmette@xxxxxxx>
- Date: Mon, 20 Jun 2005 21:42:58 -0400
Thanks for the effort. I figured it would be a "not in" collection, but I
was having a hard time getting it to work right. I started off creating the
collection, looking for the file, and everything seemed to work, and then I
tried to reverse it by adding the "not," but for some reason ended up
returning the same results. I'll try it tomorrow in the office and let you
know how it works.
Thanks,
AAROn
"Dale" <Dale@xxxxxxxxxxxxx> wrote in message
news:5816E648-E097-4FEA-9E78-DD2D16842864@xxxxxxxxxxxxxxxx
> You would create a not in collection. Basing your collection, first with
> pcs
> that have the file.
> ?????
> That's too confusing, even for me and I wrote it...
>
> Here try this cut and paste this into a New collection, you have to change
> FILENAME to the filename you are missing:
> ------------------Start-------------------
>
> select SMS_R_System.ResourceID,
> SMS_R_System.ResourceType,
> SMS_R_System.Name,
> SMS_R_System.SMSUniqueIdentifier,
> SMS_R_System.ResourceDomainORWorkgroup,
> SMS_R_System.Client from SMS_R_System
> where Name not in (select SMS_R_System.Name
> from SMS_R_System
> inner join SMS_G_System_SoftwareFile on
> SMS_G_System_SoftwareFile.ResourceID = SMS_R_System.ResourceId
> where SMS_G_System_SoftwareFile.FileName = "FILENAME" )
> and
> OperatingSystemNameandVersion like "% Workstation%"
> order by Name
>
> --------end ----------------------
>
> Remove the Start and end stuff
> Dale
> --
> (if you like the post please rate it)
>
>
> "Aaron Guilmette" wrote:
>
>> How do I create a collection based on the existence (or non-existence) of
>> an
>> inventoried file?
>>
>> Problem: Application reports as being successfully installed on a
>> machines,
>> yet one of the executables is missing.
>>
>> Thanks,
>>
>> Aaron
>>
>>
>>
.
- References:
- SMS Collection question
- From: Aaron Guilmette
- RE: SMS Collection question
- From: Dale
- SMS Collection question
- Prev by Date: RE: Installing secondary site
- Next by Date: RE: SQL queries for a collection
- Previous by thread: RE: SMS Collection question
- Next by thread: Remote Control Problems SMS2003 SP1
- Index(es):
Relevant Pages
|