Hi,
I tryed the following command
get-content user.txt | foreach {[ADSI]"WinNT://UD1/$_"}
where UD1 is the netbios name of the domain. The output is blank with the
error message
distinguishedName
--------------------
out-lineoutput : exception retrieving member "Classidd2e4...... ": unknown
error (0x80005000)"
Regards,
"Karl Mitschke" wrote:
| Quote: |  | |
|
> Hello Swamy,
> | Quote: |  | | |
> > The script is as follows
> >
> > get-content user.txt | foreach { get-qaduser $-} | sort altrecipient |
> > select-object displayname, altrecipient | convertto-html list.htm
> >
> > Regards,
> >
| | | | | >
> Swamy;
>
> Try this and see if is any faster. If it is we can work on getting the data
> out the way you want:
>
> get-content user.txt | foreach {[ADSI]"LDAP://$_"} | sort altrecipient |
> select-object displayname, altrecipient
>
>
> | |
| | |