cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
NorthH
Engaged Sweeper III
I cannot seem to put together a report of all the IP addresses for each of my servers.
Could you help me with that. I reference the tblNetwork but it is not working correctly
1 ACCEPTED SOLUTION
Hemoco
Lansweeper Alumni
Select Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique,
tblComputers.Domain, tblNetwork.Description, tblNetwork.IPAddress
From tblComputers Inner Join
tblNetwork On tblComputers.Computername = tblNetwork.Computername Inner Join
web40repallservers On web40repallservers.Computername =
tblComputers.Computername
Where tblNetwork.IPAddress <> '' And tblNetwork.IPAddress <> '0.0.0.0'
Order By tblComputers.Computer, tblNetwork.Description

View solution in original post

4 REPLIES 4
NorthH
Engaged Sweeper III
Great!!! Thanks as always!
Hemoco
Lansweeper Alumni
Select Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique,
tblComputers.Domain, tblNetwork.Description, tblNetwork.IPAddress
From tblComputers Inner Join
tblNetwork On tblComputers.Computername = tblNetwork.Computername Inner Join
web40repallservers On web40repallservers.Computername =
tblComputers.Computername
Where tblNetwork.IPAddress <> '' And tblNetwork.IPAddress <> '0.0.0.0'
Order By tblComputers.Computer, tblNetwork.Description
NorthH
Engaged Sweeper III
Yes Perfect except how just for servers?
Hemoco
Lansweeper Alumni
Something like this:
Select Top 1000000 tblComputers.Computername, tblComputers.ComputerUnique,
tblComputers.Domain, tblNetwork.Description, tblNetwork.IPAddress
From tblComputers Inner Join
tblNetwork On tblComputers.Computername = tblNetwork.Computername
Where tblNetwork.IPAddress <> '' And tblNetwork.IPAddress <> '0.0.0.0'
Order By tblComputers.Computer, tblNetwork.Description

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now