Re: Collection Question

From: Rune Norberg (runeno_at_online.no_NOSPAM)
Date: 08/24/04


Date: 24 Aug 2004 20:34:20 +0200

Well - this will only find those clients that are in a spesific OU - it will
not exclude those in a spesific SMS collection.

You can use the following query to also get the exclution part:

select distinct ResourceId, ResourceType, Name, SMSUniqueIdentifier,
ResourceDomainORWorkgroup, Client from SMS_R_System where SystemOUName like
"%/COMPUTERS" and Name not in (select sys.name from SMS_R_SYSTEM as sys
right join SMS_CM_RES_COLL_SMS000GS as coll on sys.resourceid =
coll.resourceid)

You will have to change 2 parameters: %/COMPUTER with whatever OU you want
and SMS000GS with the collection ID of the collection you want to exclution
collection.

(If you don't know how to find the collection id - add the /SMS:nodeinfo=1
on the command line that starts the SMS console (after .....SMS.MSC),
restart the SMS Admin Console and use properties on the collection. You will
now have a new tab called "Node Info" - use that and look at the Store
Number parameter (line 2 for me) to get the collection id.)

Rgds,
Rune

"Dave Halperin" <Dave_Halperin@bose.com> wrote in message
news:OhvxXXgiEHA.3320@TK2MSFTNGP11.phx.gbl...
> Very easy to do. Create a collection. Then base that collection on a
> query. Go to the query tab under membership > click "edit query
> statement"
> (resource class "System Resource") > click criteria, then the yellow star
> to
> add.
>
> Criterion Type = Simple value
> Where= click select > Attribute class = System resource > Attribute =
> System
> OU Name ( gotta scroll down to it.) > Operator = is equal to > Value =
> (name
> of OU) or you can click on values to see what SMS has for OU names.
>
> Once chosen, click OK all the way until everything is closed.
>
> That should do it.
>
> "IcculusDC" <icculusdc@verizonREMOVENOSPAM.net> wrote in message
> news:qFKWc.13$2B4.7@trnddc06...
>> I am looking to base a collection on query for all computers that are a
>> member of a specific OU and are NOT a member of a specific SMS
>> collection.
>> Is this possible? If so it would be great if someone could steer me in
>> the
>> right direction. I have not been able to figure this out and am not sure
> if
>> I am overlooking something or if it cannot be done.
>>
>>
>
>



Relevant Pages

  • Re: Secondary Sites
    ... you cannot assign clients to them. ... Check out the SMS Technical FAQ: ... Can the advanced client talk to the existing primary site server if ... You mention that you have a child domain within your LAN. ...
    (microsoft.public.sms.setup)
  • Re: Changing Site Boundaries
    ... SMS has been working great. ... Site Boundaries are setup using IP Subnets. ... subnet for all servers. ... Office using a known good package but the clients could not Locate the DP. ...
    (microsoft.public.sms.setup)
  • Re: Preventing Users who travel from switching SMS sites
    ... All of the VLAN subnets for Corp HQ are in one AD site, ... If the SMS client is not supposed to move from site to site, ... within the site boundaries of Primary1. ... The clients are XP SP2 mostly. ...
    (microsoft.public.sms.admin)
  • Re: Preventing Users who travel from switching SMS sites
    ... SMS 2003 Configuration and Operation of Advanced Client Roaming ... boundaries, ever, so the client can't get confused about which site it ... the next generation of "quarantining" clients. ... within the site boundaries of Primary1. ...
    (microsoft.public.sms.admin)
  • Re: Changing Site Boundaries
    ... successfully pushed the SMS agent to the clients. ... Do you know where it gets this IP Subnet information? ... the site boundaries to have clients in both subnets assigned. ...
    (microsoft.public.sms.setup)