‎04-30-2014 07:17 PM
Solved! Go to Solution.
‎05-05-2014 07:14 PM
daniel890 wrote:
I only need it to report on the servers not PC's also can you tell me how to show if they are VM's or physical servers
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName As [Computer Name],
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblProcessor.NumberOfCores,
tsysIPLocations.IPLocation As [Office Location],
tsysOS.OSname As [Operating System],
tblAssets.IPAddress As [IP Address],
tblAssets.FQDN As [Host Name],
tblAssets.SP,
Case When tblAssetCustom.Model Like '%virtual%' Then 'virtual' Else 'physical'
End As VirtualCheck
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Left Outer Join tsysIPLocations On tblAssets.IPNumeric >=
tsysIPLocations.StartIP And tblAssets.IPNumeric <= tsysIPLocations.EndIP
Inner Join tblProcessor On tblAssets.AssetID = tblProcessor.AssetID
Inner Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
Where tblComputersystem.Domainrole > 1
Order By tblAssetCustom.Model,
[Computer Name]
daniel890 wrote:
Just to add its reporting back on everything 4 times?
‎04-30-2014 08:05 PM
‎05-05-2014 07:14 PM
daniel890 wrote:
I only need it to report on the servers not PC's also can you tell me how to show if they are VM's or physical servers
Select Top 1000000 tblAssets.AssetID,
tblAssets.AssetName As [Computer Name],
tblAssetCustom.Manufacturer,
tblAssetCustom.Model,
tblProcessor.NumberOfCores,
tsysIPLocations.IPLocation As [Office Location],
tsysOS.OSname As [Operating System],
tblAssets.IPAddress As [IP Address],
tblAssets.FQDN As [Host Name],
tblAssets.SP,
Case When tblAssetCustom.Model Like '%virtual%' Then 'virtual' Else 'physical'
End As VirtualCheck
From tblAssets
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Left Outer Join tsysIPLocations On tblAssets.IPNumeric >=
tsysIPLocations.StartIP And tblAssets.IPNumeric <= tsysIPLocations.EndIP
Inner Join tblProcessor On tblAssets.AssetID = tblProcessor.AssetID
Inner Join tblComputersystem On tblAssets.AssetID = tblComputersystem.AssetID
Where tblComputersystem.Domainrole > 1
Order By tblAssetCustom.Model,
[Computer Name]
daniel890 wrote:
Just to add its reporting back on everything 4 times?
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now