04-08-2019 02:52 PM
06-21-2021 06:27 PM
06-05-2019 07:18 PM
06-05-2019 07:48 PM
06-05-2019 07:01 PM
Select Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblNetwork.IPAddress,
tblNetwork.Description
From
tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblNetwork On tblAssets.AssetID = tblNetwork.AssetID
And tblNetwork.IPAddress <> ''
And tblNetwork.IPAddress <> '0.0.0.0'
And tblNetwork.Description Not Like 'VMWare%'
And tblNetwork.Description Not Like '%virtua%'
And tblNetwork.Description Not Like '%Loopback%'
And tblNetwork.Description Not Like '%USB Remote NDIS Network Device%'
Inner Join ( SELECT
tblAssets.AssetID,
tblNetwork.IPAddress,
tblNetwork.Description
FROM
tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblNetwork On tblAssets.AssetID = tblNetwork.AssetID
And tblNetwork.IPAddress <> ''
And tblNetwork.IPAddress <> '0.0.0.0'
And tblNetwork.Description Not Like 'VMWare%'
And tblNetwork.Description Not Like '%virtua%'
And tblNetwork.Description Not Like '%Loopback%'
And tblNetwork.Description Not Like '%USB Remote NDIS Network Device%'
WHERE
tblAssetCustom.State = 1
) AS SecondNIC ON SecondNIC.AssetID = tblAssets.AssetID
AND SecondNIC.Description <> tblNetwork.Description
AND SecondNIC.IPAddress <> tblNetwork.IPAddress
Where tblAssetCustom.State = 1
Order By
tblAssets.AssetName,
tblNetwork.Description
06-05-2019 05:46 PM
06-05-2019 06:11 PM
06-05-2019 05:26 PM
04-09-2019 08:29 PM
Select Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblNetwork.IPAddress,
tblNetwork.Description
From
tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblNetwork On tblAssets.AssetID = tblNetwork.AssetID
And tblNetwork.IPAddress <> ''
And tblNetwork.IPAddress <> '0.0.0.0'
And tblNetwork.Description Not Like 'VMWare%'
And tblNetwork.Description Not Like '%virtua%'
And tblNetwork.Description Not Like '%Loopback%'
And tblNetwork.Description Not Like '%USB Remote NDIS Network Device%'
Where tblAssetCustom.State = 1
And (Select Count(*)
From tblNetwork
Where tblNetwork.AssetID = tblAssets.AssetID
And tblNetwork.IPAddress <> ''
And tblNetwork.IPAddress <> '0.0.0.0'
And tblNetwork.Description Not Like 'VMWare%'
And tblNetwork.Description Not Like '%virtua%'
And tblNetwork.Description Not Like '%Loopback%'
And tblNetwork.Description Not Like '%USB Remote NDIS Network Device%') > 1
Order By
tblAssets.AssetName,
tblNetwork.Description
04-08-2019 05:53 PM
Select Top 1000000
tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
tblNetwork.IPAddress,
tblNetwork.Description
From
tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblNetwork On tblAssets.AssetID = tblNetwork.AssetID
And tblNetwork.IPAddress <> ''
And tblNetwork.IPAddress <> '0.0.0.0'
And tblNetwork.Description Not Like 'VMWare%'
And tblNetwork.Description Not Like '%virtua%'
And tblNetwork.Description Not Like '%Loopback%'
And tblNetwork.Description Not Like '%USB Remote NDIS Network Device%'
Where
tblAssetCustom.State = 1
And (Select Count(*)
From tblNetwork
Where
tblNetwork.AssetID = tblAssets.AssetID
And tblNetwork.IPAddress <> ''
And tblNetwork.IPAddress <> '0.0.0.0'
And tblNetwork.Description Not Like 'VMWare%'
And tblNetwork.Description Not Like '%virtua%'
And tblNetwork.Description Not Like '%Loopback%'
And tblNetwork.Description Not Like '%USB Remote NDIS Network Device%') > 1
Order By
tblAssets.AssetName,
tblNetwork.Description
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now