Community FAQ
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Esben_D
Lansweeper Employee
Lansweeper Employee
The report below gives back a list of Azure virtual machine assets.

The report will only list assets when the following criteria are met:
  • You have Lansweeper 7.1 or higher.
  • There is Azure Linux virtual machine data scanned.
  • The asset state is active.

Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tsysIPLocations.IPLocation,
tblAzureVirtualMachine.PowerState,
tblAzureVirtualMachine.OsType As [OS Type],
tblAzureVirtualMachine.Region,
tblAzureVirtualMachine.Tags,
tblAzureResourceGroup.Name As ResourceGroupName,
tblAzureResourceGroup.SubscriptionId,
tblAssets.Lastseen,
tblAssets.Lasttried
From tblAssets
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblAssetCustom On tblAssetCustom.AssetID = tblAssets.AssetID
Inner Join tblState On tblState.State = tblAssetCustom.State
Inner Join tblAzureVirtualMachine On tblAzureVirtualMachine.AssetId =
tblAssets.AssetID
Inner Join tblAzureResourceGroup On tblAzureResourceGroup.Id =
tblAzureVirtualMachine.AzureResourceGroupId
Left Join tsysIPLocations On tsysIPLocations.LocationID = tblAssets.LocationID
Where tblAzureVirtualMachine.OsType = 'Linux' And tblState.Statename = 'Active'
Order By tblAssets.AssetName,
tblAssets.IPNumeric
0 REPLIES 0

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