Re: track targetAddress attribute



I was able to open the tool in the command prompt, thanks for the help. Now
to the next step, how do I run this filter?
(&(objectCategory=person)(objectClass=user)(targetAddress=*))
in order to find out how many students have a forward set to off campus
addresses?


"Brian Desmond [MVP]" wrote:

If you run adfind from a command prompt you won't have issues with it
opening/closing :)

--
Thanks,
Brian Desmond
Windows Server MVP - Directory Services

www.briandesmond.com


"Liz Real" <LizReal@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C16764D8-AD23-466F-99A5-0D8E043968ED@xxxxxxxxxxxxxxxx
Thank you Richard for the suggestion. To be honest I do not have much
experience with VBscript.
I downloaded the command line tool adFind from
http://joeware.net/freetools/tools/adfind/index.htm, ran it but it
opens/closes so fast i can't even read what it says.

any suggestions? i greatly appreciate it.



"Richard Mueller [MVP]" wrote:

Liz Real wrote:

I work for a private university in California and I am trying to find
out
if
it is possible to track how many of our students are forwarding email
off-campus. I read that the targetaddress attribute can be used to
accomplish
this task.

I appreciate any help on this.

I don't have Exchange so I cannot test, but it appears the value of this
attribute is used to redirect email when the intended recipient is
unavailable. You should be able to use ADO in a VBScript program to
retrieve
information on all users that have a value assigned to this attribute.
See
this link for details:

http://www.rlmueller.net/ADOSearchTips.htm

Using the syntax from this link, the search filter would be:

strFilter =
"(&(objectCategory=person)(objectClass=user)(targetAddress=*))"

You could retrieve user names (sAMAccountName or distinguishedName), or
just
count the number of users that have a value assigned to targetAddress.
You
could also retrieve the value of targetAddress.

Note that the same filter,
(&(objectCategory=person)(objectClass=user)(targetAddress=*)), can be
used
with command line tools like dsquery and Joe Richards' adfind. For more
on
adfind see this link:

http://joeware.net/freetools/tools/adfind/index.htm

--
Richard Mueller
Microsoft MVP Scripting and ADSI
Hilltop Lab - http://www.rlmueller.net
--






.



Relevant Pages

  • Re: track targetAddress attribute
    ... sAMAccountName targetAddress ... The -b switch sets the base of the search, -f the filter. ... I downloaded the command line tool adFind from ... You could retrieve user names, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Access module does not continue past the Filter Method
    ... I added the "Stop" Command, but the program completely ignored it. ... proceeding to "Past the Filter". ... Public Sub Apply_Tech_Filter ... Debug.Print "Past the Filter" ...
    (microsoft.public.access.modulesdaovba)
  • Re: Printer Sharing
    ... Here is last command you wanted. ... _f Pre-processing FILTER NAME ... __TRN STAGE 2 TRANSLATE TABLES ... t1 Path Name of First Alternate Stage 2 Translate ...
    (comp.unix.aix)
  • Re: Justify Upgrade from X-10 to Z-Wave?
    ... I hooked up the Monterey PLSA behind an AF120 15A filter and got some ... repeated half of the command. ... If it's higher *with* the XTB then the two signals are combining. ...
    (comp.home.automation)
  • Re: News protocol (RFC 977) implementation problem
    ... > There's a NEWNEWS command in the RFC specs, which should retrieve the ... I don't think NEWNEWS is still much in use nowadays, ... The server says here that it has a total of 20120 messages between #1 ...
    (microsoft.public.dotnet.languages.vb)

Loading