Notification

Icon
Error

Report for NOT SCANNED OS - Report that display failed scan OS - limited to windows active server

Posted: Wednesday, October 30, 2019 9:43:00 AM(UTC)
Alexandria

Alexandria

Member Original PosterPosts: 2
0
Like
Hi,

I have the below code and I want to limit the report result of all NOT SCANNED OS ONLY

Select Top 1000000 tblAssets.AssetID,
tsysAssetTypes.AssetTypename,
tblAssetCustom.Custom6 As 'Environment',
tblAssetCustom.Location,
tblAssets.AssetName,
tsysAssetTypes.AssetTypeIcon10 As icon,
tblAssets.IPAddress,
tblAssets.Domain,
tblAssetCustom.Custom1 As 'Technology Product',
tblAssetCustom.Custom2 As 'Application Name',
tblAssetCustom.Custom3 As 'Asset Role',
Case
When Coalesce(tsysOS.OSname, tblLinuxSystem.OSRelease,
tblMacOSInfo.SystemVersion) Is Null Then 'Not Scanned'
Else Coalesce(tsysOS.OSname, tblLinuxSystem.OSRelease,
tblMacOSInfo.SystemVersion)
End As 'Operating System',
tblAssetCustom.Custom4 As 'Contact Person',
tblAssetCustom.Custom5 As 'IT Support Unit',
tblAssetCustom.Custom8 As 'Remote IP',
tblAssetCustom.Custom16 As 'Provision Mode',
tblAssetCustom.Custom7 As 'Rack Number',
tblAssetCustom.Custom17 As 'PCI Status',
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblAssetCustom.Serialnumber
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysAssetTypes On tsysAssetTypes.AssetType = tblAssets.Assettype
Left Join tblLinuxSystem On tblAssets.AssetID = tblLinuxSystem.AssetID
Left Join tsysOS On tblAssets.OScode = tsysOS.OScode
Left Join tblMacOSInfo On tblAssets.AssetID = tblMacOSInfo.AssetID
Where tsysAssetTypes.AssetTypename = 'Windows' And tblAssetCustom.State = 1

TIA

Active Discussions

Lansweeper Software Missing Report
by  RC62N   Go to last post Go to first unread
Last post: 12/6/2019 6:09:28 PM(UTC)
Lansweeper Assets without Asset Location
by  JLangthaler  
Go to last post Go to first unread
Last post: 12/5/2019 12:44:19 PM(UTC)
Lansweeper Installed Memory report
by  lansend   Go to last post Go to first unread
Last post: 12/2/2019 8:15:53 PM(UTC)
Lansweeper Custom OID Report
by  bramassendorp  
Go to last post Go to first unread
Last post: 12/2/2019 4:42:48 PM(UTC)
Lansweeper Report thats showing Windows machines when AV is not like =
by  RC62N   Go to last post Go to first unread
Last post: 11/28/2019 5:56:51 PM(UTC)
Lansweeper dhcp addresses available
by  Cesco93   Go to last post Go to first unread
Last post: 11/28/2019 2:56:02 PM(UTC)
Lansweeper All Assets Report on all IP-addresses and MAC-addresses
by  Tommy75  
Go to last post Go to first unread
Last post: 11/27/2019 11:54:44 AM(UTC)