cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
kmoc
Engaged Sweeper
Hi all, any help appreciated. Currently running the below report to pull info on users and their device. However it would be very useful to pull in the P.O. Box field from AD, as we have over 900 users in the building and we use this field to input their Floor and office number.

Select Top 1000000 tblADusers.Firstname,
tblADusers.Lastname,
tblADusers.Username,
tblAssets.AssetName,
tblAssets.IPAddress,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssets.Firstseen,
tblAssets.Lastseen,
tblADusers.email
From tblAssets
Inner Join tsysAssetTypes On tblAssets.Assettype = tsysAssetTypes.AssetType
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Left Join tsysIPLocations On tblAssets.LocationID = tsysIPLocations.LocationID
Inner Join tblADusers On tblADusers.Username = tblAssets.Username
Where (tblAssetCustom.Model = 'ThinkPad Yoga 370') Or
(tblAssetCustom.Model = 'ThinkCentre M710q') Or
(tblAssetCustom.Model = 'ThinkPad X380 Yoga')
Order By tblADusers.Firstname,
tblAssets.AssetName

Just cant see where i can get this P.O Box info from.

Thanks in advance.
Kevin
0 REPLIES 0