I did get a good report for windows warranty devices out of date. But, instead we decided to use more simple reports we built exposing devices 4/5 years or older. Assumed the last logged on is the owner/user (mostly correct) and then used AD info on the user to find the department responsible for budgeting the new equipment. Confident it could us some CSI but here ya go for four or more years old: Select Distinct Top (100000) tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Username As AssetUserName,
tblADUsers.Name As ADUserName,
tblADUsers.Department,
tblWarranty.ShipDate As Purchased,
tblAssets.Domain,
tsysAssetTypes.AssetTypename As Type,
tblAssets.IPAddress,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssets.Lastseen As [Last successful scan]
From tblWarranty
Inner Join tblWarrantyDetails On tblWarranty.WarrantyId =
tblWarrantyDetails.WarrantyId
Inner Join tblAssets On tblWarranty.AssetId = tblAssets.AssetID
Inner Join tsysAssetTypes On tblAssets.Assettype = tsysAssetTypes.AssetType
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tblADUsers On tblAssets.Username = tblADUsers.Username
Left Outer Join tsysIPLocations On tblAssets.LocationID =
tsysIPLocations.LocationID
Where tblWarranty.ShipDate < GetDate() - 1460 And tsysAssetTypes.AssetTypename =
'Windows' And tblWarrantyDetails.ServiceType Like '%prosupport%'
Order By tblADUsers.Department,
Purchased