Emanuel
asked on
SCCM 2007 Active Directory Collection
Hi,
Just looking at SCCM 2007 for a client and stuggling to get my head around Active Directory collection deployment. Is there a straight forward way of creating an OU group and getting it to collect an advertisement?
Many thanks,
Kerj
Just looking at SCCM 2007 for a client and stuggling to get my head around Active Directory collection deployment. Is there a straight forward way of creating an OU group and getting it to collect an advertisement?
Many thanks,
Kerj
ASKER
OK I modified your script but it is declared as having an error in syntax;
select
SMS_R_System.ResourceID,SM S_R_System .ResourceT ype,SMS_R_ System.Nam e,SMS_R_Sy stem.SMSUn iqueIdenti fier,SMS_R _System.Re sourceDoma inORWorkgr oup,SMS_R_ System.Cli ent from SMS_R_System inner join SMS_G_System_COMPUTER_SYST EM on SMS_G_System_COMPUTER_SYST EM.Resourc eID = SMS_R_System.ResourceId where SMS_G_System_COMPUTER_SYST EM.UserNam e in (select UniqueUserName from SMS_R_User where UserOUName = "test/notepad” )
Is there something else I have missed for modification?
select
SMS_R_System.ResourceID,SM
Is there something else I have missed for modification?
ASKER
My current syntax is
select SMS_R_USERGROUP.ResourceID ,SMS_R_USE RGROUP.Res ourceType, SMS_R_USER GROUP.Name ,SMS_R_USE RGROUP.Uni queUsergro upName,SMS _R_USERGRO UP.Windows NTDomain from SMS_R_UserGroup where SMS_R_UserGroup.ActiveDire ctoryOrgan izationalU nit = "test/notepad"
However this isn't seeing my computers in the notepad group?
select SMS_R_USERGROUP.ResourceID
However this isn't seeing my computers in the notepad group?
Are you using all discoveries?
Let me see the query in my lab.
Let me see the query in my lab.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Noob website helped. I think I was looking for a user container not a computer one. Once I tweaked it to look for computers it is working.
Thanks for your help!
Thanks for your help!
=============
select SMS_R_System.ResourceID,SM
http://www.sccm-tools.com/tools/WQLQueries/WQLQueries-CompCollectionofusrs.html
================