Lansweeper logo
Home Download Features Demo Buy now Help Support forum
 
    Most requested support articles:
  Lansweeper troubleshooting guide.
  The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
  WMI Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
  How to configure the windows firewall using group policies.
  Support:  
 support@lansweeper.com  
Skype: Lansweeper  
  Mo-Fri 9h-17h CET  
Welcome Guest Search | Active Topics | Log In | Register

Tag as favorite
get all active computers
itdpt
#1 Posted : Tuesday, August 10, 2010 12:41:48 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 13
Location: italy
Hello

I need to have a report where i get a list of all computer with status active .

I've tried with this =

Select tblCompCustom.Computername, tblCompCustom.State
From tblCompCustom Inner Join
tblComputers On tblComputers.Computername = tblCompCustom.Computername
Where tblCompCustom.State = 2

but it did not give me any kind of result.


thank You

Ict dpt
Lansweeper
#2 Posted : Tuesday, August 10, 2010 3:23:57 PM

Rank: Administration

Groups: Administration, Premium Users
Posts: 9,982
try this:

Code:
Select tblCompCustom.Computername, tblCompCustom.State
From tblCompCustom Right Join
  tblComputers On tblComputers.Computername = tblCompCustom.Computername
Where tblCompCustom.State = 1     
itdpt
#3 Posted : Tuesday, August 17, 2010 3:24:42 PM

Rank: Premium user

Groups: Member, Premium Users
Posts: 13
Location: italy
thank You

got it working !

Cheers
Users browsing this topic
Guest
Tag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Contact: E-mail Lansweeper - Skype : Lansweeper
Copyright 2004 - 2011 © Hemoco bvba