→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
‎10-14-2021 07:52 PM
‎10-29-2021 01:12 PM
'CN=' + tblassets.AssetName + ',' + tblADComputers.OU As DN
‎10-28-2021 10:53 PM
‎10-27-2021 04:56 PM
Select Top 1000000 tblassets.AssetID,
tblassets.AssetName,
tsysassettypes.AssetTypename,
tsysassettypes.AssetTypeIcon10 As icon,
tblassets.Domain,
tblassets.Username,
tblassetcustom.PurchaseDate,
tblassetcustom.Warrantydate,
tblassets.Mac,
tblassetcustom.Manufacturer,
tblassetcustom.Model,
tblassetcustom.Serialnumber,
tsysIPLocations.IPLocation,
'CN=' + tblassets.AssetName + ',' + tblADComputers.OU As DN
From tblassets
Inner Join tblassetcustom On tblassets.AssetID = tblassetcustom.AssetID
Inner Join tsysassettypes On tsysassettypes.AssetType = tblassets.Assettype
Inner Join lansweeperdb.dbo.tsysIPLocations On tsysIPLocations.LocationID =
tblassets.LocationID
Inner Join lansweeperdb.dbo.tblADComputers On tblassets.AssetID =
tblADComputers.AssetID
Where tsysassettypes.AssetTypename = 'Windows'
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now