If you want to deploy software to a particular AD user group then create a User Collection and use the following Query Statement:


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 = "<Domain>\\<AD Group>"

Remember to make sure you have Discovery set up on your AD or specific OU containing groups. To do this click Administration>Discovery Methods>Active Directory Group Discovery. Right click and choose Properties.

Click Add and configure accordingly.

Advertisements