SMSUG.ca

...your virtual communITy
Welcome to SMSUG.ca Sign in | Join | Help
in Search

Garth Jones

How to find PCs within an AD container

If you need to find all PC within an AD container (not an OU). Use this WQL query to find them.

For more details about this request, see the full forum post.
http://social.technet.microsoft.com/Forums/en-US/configmgrsetup/thread/9358cee7-75a5-4595-80a3-4016ea572f1b

 

select 
    SMS_R_System.Name, 
    SMS_R_System.LastLogonUserName 
from  
    SMS_R_System 
where 
    SMS_R_System.SystemContainerName = "ENHANSOFT\\COMPUTERS"

Comments

 

How to find PCs within an AD container | My CMS said:

Pingback from  How to find PCs within an AD container | My CMS

June 10, 2013 5:40 PM

This Blog

Syndication

News

Training

Powered by Community Server (Non-Commercial Edition), by Telligent Systems