Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
matthew1g
Engaged Sweeper III
I need to create a report that can tell me the make and model of all the computers on my network, sorted by active directory OU. Is this possible?
10 REPLIES 10
Hemoco
Lansweeper Alumni
Should be something like this:

SELECT     TOP 100 PERCENT dbo.tblADComputers.OU, dbo.tblComputers.Computername, dbo.tblComputerSystemProduct.Name, 
dbo.tblComputerSystemProduct.Vendor, dbo.tblComputerSystemProduct.IdentifyingNumber
FROM dbo.tblComputers LEFT OUTER JOIN
dbo.tblADComputers ON dbo.tblComputers.Computername = dbo.tblADComputers.Computername LEFT OUTER JOIN
dbo.tblComputerSystemProduct ON dbo.tblComputers.Computername = dbo.tblComputerSystemProduct.Computername
ORDER BY dbo.tblADComputers.OU, dbo.tblComputers.Computername

Reports & Analytics

Ask about reports you're interested in and share reports you've created. Subscribe to receive daily updates of reports shared in the Community.

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now