RE: List users in an specific OU.

Tech-Archive recommends: Fix windows errors by optimizing your registry



Thank you guys you hooked me up.

Big up

I will now continue study scripts and I hoep I can help out here in the
future.

P.S

I might ask for some guidens along the way :)

D.S

/Daniel

"Daniel Perdahl" wrote:

> Hi all.
>
> i am what you can call a beginer at this wonderfull thing called scripting.
> So if my questions seem trivial I am sorry, I am working hard to get better.
> (atm I don't know anything).
>
> My question that I wanna ask is regarding windows server 2003 and users in a
> specific OU.
>
> I wanna read out there name and write it to a file. I have be able to find a
> script that can do it on the cn=administrators but when I try and modify it
> to read the OU=Account (witch is a OU made by me :)) I am not able to get
> there.
>
> My problem is not only that I can't get it to work I am to much of a newbie
> to understand simple script directions such as that I need to change the
> script to use another class or something as I don't yet usderstand this.
>
> Is there anyone out there that has such a script and who would wanna share
> it with a fellow admin.
>
> I am going to do my best to get better at this in someday I might be able to
> help you guys out :)
>
> Best regards
>
> /Daniel
.



Relevant Pages