04-23-2015 11:34 AM
Solved! Go to Solution.
04-24-2015 11:34 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
Case tblRegistry.Value When 0 Then 'Disabled' When '1' Then 'Enabled'
Else 'unknown' End As Firewall
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblRegistry On tblAssets.AssetID = tblRegistry.AssetID
Where tblAssetCustom.State = 1 And
tblRegistry.Regkey Like '%FirewallPolicy\StandardProfile'
Order By tblAssets.AssetName
04-28-2015 01:33 PM
04-27-2015 05:24 PM
04-24-2015 11:34 AM
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName,
tsysAssetTypes.AssetTypename,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Lastseen,
tblAssets.Lasttried,
Case tblRegistry.Value When 0 Then 'Disabled' When '1' Then 'Enabled'
Else 'unknown' End As Firewall
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Inner Join tblRegistry On tblAssets.AssetID = tblRegistry.AssetID
Where tblAssetCustom.State = 1 And
tblRegistry.Regkey Like '%FirewallPolicy\StandardProfile'
Order By tblAssets.AssetName
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now