The collection query we use for users and computers is :

Computers :

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 SMS_R_System.SystemGroupName = 
"DOM\\GROUP_NAME_FROM_AD"



Users :

select 
SMS_R_USER.ResourceID,SMS_R_USER.ResourceType,SMS_R_USER.Name,SMS_R_USER.UniqueUserName,SMS_R_USER.WindowsNTDomain
 from SMS_R_User where SMS_R_User.UserGroupName = "DOM\\GROUP_NAME_FROM_AD"



Make sure the collection is set to incremental updates and you should be good 
to go.  It's not instant, but the software should go out in a few minutes.



Hope that helps


From: listsad...@lists.myitforum.com [mailto:listsad...@lists.myitforum.com] On 
Behalf Of sccmfun
Sent: 03 March 2015 10:42
To: mssms@lists.myITforum.com
Subject: [mssms] Deploy applications using AD groups.

What is the best way to create a collection to deploy software to 
users/computers based off of AD Group

Should I populate the collection using the security group name, in which case 
the collection only has 1 member (ex: contoso\winzip) or should I create the 
collection so it returns the members of the group so it shows the actual 
objects (ex: 15 users/computers)?  I thought I remember something that the 
collection needs to have the actual computer/user names returned and not just 
the 1 group name returned or users/computers would need to logoff/logon for 
their token to refresh before they receive the policy.

Does anyone have the query they use?  My goal is to create a collection based 
off AD group (ex: contoso\winzip) and have the least amount of wait/interaction 
from the user.

Thanks
---------------------------------------------------------------------------------------
Information in this message is sent in confidence and is intended only for
the use of the individual or entity to whom it is addressed.  If you are not
the intended recipient, any use, distribution or copying of the information
is strictly forbidden.  Please notify the sender immediately by return email
or telephone 01823 721400. If you received this email in error please delete 
it and any copies of it from your system.

Viridor Waste Management Limited
Registered Office: Peninsula House, Rydon Lane, Exeter EX2 7HR
Registered in England No. 575069
---------------------------------------------------------------------------------------





Reply via email to