Community FAQ
cancel
Showing results forĀ 
ShowĀ Ā onlyĀ  | Search instead forĀ 
Did you mean:Ā 
pabby
Engaged Sweeper

Hi 

I can get monthwise data but is there a report that tells me how to find all devices on network that have patches missing for more than 90 days.

1 REPLY 1
Mister_Nobody
Honored Sweeper II

Try this

 

Select Top 1000000 tblAssets.AssetID,
  tblAssets.AssetName,
  tblAssets.oscode,
  tblAssets.BuildNumber,
  tblAssets.Version,
  tblAssets.Username,
  tblAssets.IPAddress,
  Max(Convert(date,tblQuickFixEngineering.InstalledOn)) As lastPatchDate,
  Max(tblQuickFixEngineering.qfeid) As fixversion,
  tblAssets.Lastseen
From tblQuickFixEngineering
  Inner Join tblAssets On tblAssets.AssetID = tblQuickFixEngineering.AssetID
  Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Group By tblAssets.AssetID,
  tblAssets.AssetName,
  tblAssets.oscode,
  tblAssets.BuildNumber,
  tblAssets.Version,
  tblAssets.Username,
  tblAssets.IPAddress,
  tblAssets.Lastseen
Having Max(Convert(date,tblQuickFixEngineering.InstalledOn)) < GetDate() - 90
Order By lastPatchDate Desc

 

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