‎11-20-2014 02:10 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tblAssets.Domain,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tsysIPLocations.IPLocation,
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblMacOSInfo.SystemVersion,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblMacPartitions.Filesystem,
tblMacPartitions.Available,
tblMacPartitions.Used,
tblMacPartitions.Percentage As SpaceUsed,
tblMacPartitions.MountedOn As MountedOn
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysIPLocations On tsysIPLocations.LocationID =
tblAssets.LocationID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblMacOSInfo On tblMacOSInfo.AssetID = tblAssets.AssetID
Inner Join tblMacPartitions On tblMacPartitions.AssetID = tblAssets.AssetID
Where tblMacPartitions.Available <> N'0B' And tblState.Statename = 'Active' And
Replace(tblMacPartitions.Percentage, '%', '') > 90
Order By tblAssets.IPNumeric,
tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now