‎03-05-2019 01:14 PM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAzureResourceGroup.SubscriptionId,
tblAzureResourceGroup.Region,
tblAzureResourceGroup.Tags,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tsysIPLocations On tsysIPLocations.LocationID =
tblAssets.LocationID
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblAzureResourceGroup On tblAzureResourceGroup.AssetId =
tblAssets.AssetID
Where tblState.Statename = 'Active'
Order By tblAzureResourceGroup.Name,
tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now