‎11-26-2019 05:57 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblDiskdrives.Volumename,
Ceiling(tblDiskdrives.Size / 1024 / 1024 / 1024) As [Max size in GB],
Ceiling(tblDiskdrives.Freespace / 1024 / 1024 / 1024) As [Free Space in GB],
tblDiskdrives.FileSystem,
tblDiskdrives.Description,
tblDiskdrives.Caption,
tblDiskdrives.Compressed,
tblFloppy.Model,
tblFloppy.Name,
tblFloppy.FirmwareRevision,
tblDiskdrives.DriveType,
tblFloppy.InterfaceType
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblDiskdrives On tblAssets.AssetID = tblDiskdrives.AssetID
Inner Join tblFloppy On tblAssets.AssetID = tblFloppy.AssetID
Where tblFloppy.Name Like '%PHYSICALDRIVE0' And
tblAssetCustom.State = 1 And tblDiskdrives.Freespace > 0 And
tblDiskdrives.Size > 0 And (tblFloppy.Model Like '%VO0480JFDGT%' or tblFloppy.Model Like '%VO0960JFDGU%' or tblFloppy.Model Like '%VO1920JFDGV%' or tblFloppy.Model Like '%VO3840JFDHA%' or tblFloppy.Model Like '%MO0400JFFCF%' or tblFloppy.Model Like '%MO0800JFFCH%' or tblFloppy.Model Like '%MO1600JFFCK%' or tblFloppy.Model Like '%MO3200JFFCL%' or tblFloppy.Model Like '%VO000480JWDAR%' or tblFloppy.Model Like '%VO000960JWDAT%' or tblFloppy.Model Like '%VO001920JWDAU%' or tblFloppy.Model Like '%VO003840JWDAV%' or tblFloppy.Model Like '%VO007680JWCNK%' or tblFloppy.Model Like '%VO015300JWCNL%' or tblFloppy.Model Like '%VK000960JWSSQ%' or tblFloppy.Model Like '%VK001920JWSSR%' or tblFloppy.Model Like '%VK003840JWSST%' or tblFloppy.Model Like '%VK003840JWSST%' or tblFloppy.Model Like '%VK007680JWSSU%' or tblFloppy.Model Like '%VO015300JWSSV%')
Order By tblAssets.AssetName,
tblDiskdrives.Caption
‎12-10-2019 08:04 AM
‎12-10-2019 07:28 AM
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now