Re: [ActiveDir] How to enumerate scanners in a domain using ADSI/WMI

2005-05-09 Thread Peter Jessop
I think this is not easy with WMI. 

Remarks
The CIM_Scanner class is derived from CIM_LogicalDevice.
WMI does not implement this class.

from http://msdn.microsoft.com/library/default.asp?url="">


Peter

RE: [ActiveDir] How to enumerate scanners in a domain using ADSI/WMI

2005-05-08 Thread Manbinder Pal Singh



I am sorry for not being clear. I meant scanners that scan 
photos. Also I am interetesed in then knowing the attributes like if scanner is 
colored or not? 

Thank You
Manbinder


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Eric 
FleischmanSent: Sunday, May 08, 2005 9:17 AMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI


Scanners? Like scanners 
that scan your photos?
Or like network 
sniffers (which some people call scanners)?

Or something 
else?
Can you clarify 
Manbinder?

~Eric






From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Manbinder Pal 
SinghSent: Saturday, May 07, 
2005 2:17 AMTo: 
ActiveDir@mail.activedir.orgSubject: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI


Hi all



I want to know how to know how many 
scanners are there in the domain and their properties using 
ADSI/WMI.

Any help would be 
apprecaited.



Thank You

Manbinder


RE: [ActiveDir] How to enumerate scanners in a domain using ADSI/WMI

2005-05-08 Thread Eric Fleischman








So this data would not be available in AD.
Youd need to call down to each machine and find it.

So really, this DL probably isnt
best for this question.



WMI can probably answer this question
better than most other APIs (at least easier) but it will require a call out to
each box, unless you start pushing this data in to some central repository.



~Eric













From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manbinder Pal Singh
Sent: Sunday, May 08, 2005 8:44 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to
enumerate scanners in a domain using ADSI/WMI





I am sorry for not being clear. I meant
scanners that scan photos. Also I am interetesed in then knowing the attributes
like if scanner is colored or not? 



Thank You

Manbinder









From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Fleischman
Sent: Sunday, May 08, 2005 9:17 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to
enumerate scanners in a domain using ADSI/WMI

Scanners? Like scanners that scan your
photos?

Or like network sniffers (which some
people call scanners)?



Or something else?

Can you clarify Manbinder?



~Eric













From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manbinder Pal Singh
Sent: Saturday, May 07, 2005 2:17
AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] How to
enumerate scanners in a domain using ADSI/WMI







Hi all











I want to know how to know how many scanners are there in
the domain and their properties using ADSI/WMI.





Any help would be apprecaited.











Thank You





Manbinder










RE: [ActiveDir] How to enumerate scanners in a domain using ADSI/WMI

2005-05-08 Thread Manbinder Pal Singh



Thanks for the info. The thing is that I dont know how many 
scanners are there in my domain and so I dont know the machines on which they 
are configured.

My scenario is like this. Think I want 
info about all printers. AD stores info about all the network printers and so by 
querying AD I should be able to know how many printers are there and basic 
detail abour each printer that on which machine it is installed. Once I know the 
machines , I can query them to get further details. 

Doesnt AD store any info about network scanners , just like 
printers

Thank You
Manbinder



From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Eric FleischmanSent: Monday, May 09, 2005 9:19 
AMTo: ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] 
How to enumerate scanners in a domain using ADSI/WMI


So this data would not 
be available in AD. Youd need to call down to each machine and find 
it.
So really, this DL 
probably isnt best for this question.

WMI can probably answer 
this question better than most other APIs (at least easier) but it will require 
a call out to each box, unless you start pushing this data in to some central 
repository.

~Eric






From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Manbinder Pal 
SinghSent: Sunday, May 08, 
2005 8:44 PMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI

I am sorry for not 
being clear. I meant scanners that scan photos. Also I am interetesed in then 
knowing the attributes like if scanner is colored or not? 

Thank 
You
Manbinder




From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Eric 
FleischmanSent: Sunday, May 
08, 2005 9:17 AMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI
Scanners? Like scanners 
that scan your photos?
Or like network 
sniffers (which some people call scanners)?

Or something 
else?
Can you clarify 
Manbinder?

~Eric






From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Manbinder Pal 
SinghSent: Saturday, May 07, 
2005 2:17 AMTo: 
ActiveDir@mail.activedir.orgSubject: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI


Hi all



I want to know how to know how many 
scanners are there in the domain and their properties using 
ADSI/WMI.

Any help would be 
apprecaited.



Thank You

Manbinder


RE: [ActiveDir] How to enumerate scanners in a domain using ADSI/WMI

2005-05-08 Thread Eric Fleischman








Big assumption. Youre assuming that
printers elect to publish to AD. If they dont, for any reason, you wont
find them.

So it depends upon the reason youre
looking.



 Doesnt AD store any info about network scanners , just like
printers



AD doesnt store info about printers
so much as the printer people decided to publish stuff to AD. Theres a
major difference. It is up to the printer people to publish to AD. The AD
people are not going out and finding printers.

The scanner people did no such publishing,
because they did not see value for their component. And they are right, for
them, there really isnt.



~Eric













From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manbinder Pal Singh
Sent: Sunday, May 08, 2005 9:14 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to
enumerate scanners in a domain using ADSI/WMI





Thanks for the info. The thing is that I
dont know how many scanners are there in my domain and so I dont know the
machines on which they are configured.



My scenario is like this. Think I want info about all printers. AD stores info about all
the network printers and so by querying AD I should be able to know how many
printers are there and basic detail abour each printer that on which machine it
is installed. Once I know the machines , I can query them to get further
details. 



Doesnt AD store any info about network
scanners , just like printers



Thank You

Manbinder







From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Fleischman
Sent: Monday, May 09, 2005 9:19 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to
enumerate scanners in a domain using ADSI/WMI

So this data would not be available in AD.
Youd need to call down to each machine and find it.

So really, this DL probably isnt
best for this question.



WMI can probably answer this question
better than most other APIs (at least easier) but it will require a call out to
each box, unless you start pushing this data in to some central repository.



~Eric













From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manbinder Pal Singh
Sent: Sunday, May 08, 2005 8:44 PM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to
enumerate scanners in a domain using ADSI/WMI





I am sorry for not being clear. I meant
scanners that scan photos. Also I am interetesed in then knowing the attributes
like if scanner is colored or not? 



Thank You

Manbinder









From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Fleischman
Sent: Sunday, May 08, 2005 9:17 AM
To: ActiveDir@mail.activedir.org
Subject: RE: [ActiveDir] How to
enumerate scanners in a domain using ADSI/WMI

Scanners? Like scanners that scan your
photos?

Or like network sniffers (which some
people call scanners)?



Or something else?

Can you clarify Manbinder?



~Eric













From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manbinder Pal Singh
Sent: Saturday, May 07, 2005 2:17
AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] How to
enumerate scanners in a domain using ADSI/WMI







Hi all











I want to know how to know how many scanners are there in
the domain and their properties using ADSI/WMI.





Any help would be apprecaited.











Thank You





Manbinder










RE: [ActiveDir] How to enumerate scanners in a domain using ADSI/WMI

2005-05-08 Thread Manbinder Pal Singh



Oh ok. Thanks again.
So I think I have to go the hard way of enumerating all the 
computers in that domain from the AD and then querying each of that computer for 
the scanner.

Thank You
Manbinder


From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Eric 
FleischmanSent: Monday, May 09, 2005 9:51 AMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI


Big assumption. Youre 
assuming that printers elect to publish to AD. If they dont, for any reason, 
you wont find them.
So it depends upon the 
reason youre looking.

 
Doesnt AD store any 
info about network scanners , just like printers

AD doesnt store info 
about printers so much as the printer people decided to publish stuff to AD. 
Theres a major difference. It is up to the printer people to publish to AD. The 
AD people are not going out and finding printers.
The scanner people did 
no such publishing, because they did not see value for their component. And they 
are right, for them, there really isnt.

~Eric






From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Manbinder Pal 
SinghSent: Sunday, May 08, 
2005 9:14 PMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI

Thanks for the info. 
The thing is that I dont know how many scanners are there in my domain and so I 
dont know the machines on which they are configured.

My scenario is like 
this. Think I want info 
about all printers. AD stores info about all the network printers and so by 
querying AD I should be able to know how many printers are there and basic 
detail abour each printer that on which machine it is installed. Once I know the 
machines , I can query them to get further details. 

Doesnt AD store any 
info about network scanners , just like printers

Thank 
You
Manbinder



From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Eric 
FleischmanSent: Monday, May 
09, 2005 9:19 AMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI
So this data would not 
be available in AD. Youd need to call down to each machine and find 
it.
So really, this DL 
probably isnt best for this question.

WMI can probably answer 
this question better than most other APIs (at least easier) but it will require 
a call out to each box, unless you start pushing this data in to some central 
repository.

~Eric






From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Manbinder Pal 
SinghSent: Sunday, May 08, 
2005 8:44 PMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI

I am sorry for not 
being clear. I meant scanners that scan photos. Also I am interetesed in then 
knowing the attributes like if scanner is colored or not? 

Thank 
You
Manbinder




From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Eric 
FleischmanSent: Sunday, May 
08, 2005 9:17 AMTo: 
ActiveDir@mail.activedir.orgSubject: RE: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI
Scanners? Like scanners 
that scan your photos?
Or like network 
sniffers (which some people call scanners)?

Or something 
else?
Can you clarify 
Manbinder?

~Eric






From: 
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
On Behalf Of Manbinder Pal 
SinghSent: Saturday, May 07, 
2005 2:17 AMTo: 
ActiveDir@mail.activedir.orgSubject: [ActiveDir] How to enumerate 
scanners in a domain using ADSI/WMI


Hi all



I want to know how to know how many 
scanners are there in the domain and their properties using 
ADSI/WMI.

Any help would be 
apprecaited.



Thank You

Manbinder


RE: [ActiveDir] How to enumerate scanners in a domain using ADSI/WMI

2005-05-07 Thread Eric Fleischman








Scanners? Like scanners that scan your
photos?

Or like network sniffers (which some
people call scanners)?



Or something else?

Can you clarify Manbinder?



~Eric













From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Manbinder Pal Singh
Sent: Saturday, May 07, 2005 2:17
AM
To: ActiveDir@mail.activedir.org
Subject: [ActiveDir] How to
enumerate scanners in a domain using ADSI/WMI







Hi all











I want to know how to know how many scanners are there in
the domain and their properties using ADSI/WMI.





Any help would be apprecaited.











Thank You





Manbinder