Notification

Icon
Error

AWS: Windows Instances (Built-in)

Posted: Tuesday, March 5, 2019 1:15:15 PM(UTC)
Esben.D

Esben.D

Member Administration Original PosterPosts: 1,977
0
Like
The report below gives back a list of AWS VPCs.

The report will only list assets when the following criteria are met:
  • You have Lansweeper 7.1 or higher.
  • There is AWS instance data scanned.
  • The asset state is active.
  • The instance has a Windows OS.

Code:
Select Top 1000000 tblAssets.AssetID,
  tblAssets.AssetName,
  tsysAssetTypes.AssetTypeIcon10 As icon,
  tblAssets.IPAddress,
  tsysIPLocations.IPLocation,
  tblAssetCustom.Manufacturer,
  tblAWSInstance.InstanceId,
  tblAWSInstance.InstanceType,
  tblAWSInstance.Platform,
  tblAWSInstance.Region,
  tblAWSInstance.State,
  tblAssets.Lastseen,
  tblAssets.Lasttried
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 tblAWSInstance On tblAWSInstance.AssetId = tblAssets.AssetID
Where tblAWSInstance.Platform = 'Windows' And tblState.Statename = 'Active'
Order By tblAWSInstance.Region,
  tblAssets.IPNumeric

Active Discussions

Installer Sophos Silent Install
by  Esben.D   Go to last post Go to first unread
Last post: 2/14/2020 10:41:20 AM(UTC)
Installer Update Windows with PSWindowsUpdate
by  Patrick Kuhl  
Go to last post Go to first unread
Last post: 1/17/2020 5:32:57 PM(UTC)
Installer Windows 10 Upgrade
by  Anita   Go to last post Go to first unread
Last post: 1/16/2020 5:11:46 PM(UTC)
Installer NEC_UC_Suite-6.1_Install_No_Reboot
by  mchapman1963  
Go to last post Go to first unread
Last post: 12/24/2019 4:50:17 PM(UTC)
Installer Team Viewer Host update / install
by  BastiOn  
Go to last post Go to first unread
Last post: 11/27/2019 2:09:10 PM(UTC)
Installer Office 2016 Update
by  Cem Serdar   Go to last post Go to first unread
Last post: 11/7/2019 12:05:50 PM(UTC)
Installer Mozilla FireFox 70.0 Install
by  CyberCitizen  
Go to last post Go to first unread
Last post: 11/7/2019 12:09:14 AM(UTC)