Re: Scripting Active Directory attribute changes.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thanks for the quick reply, I can't seem to find the sample code you included.
For this particular task I would like to be able to read from a list of
users objects, then disable their AD accounts AND modify their description
feild with the same text, something along the lines of "This account is
disbled due to xxxx reasons"....then as the reasons change I can modify the
text in the script.

"Dean Wells [MVP]" wrote:

> I've enclosed a small shell script written quite some time back, I
> haven't tested it recently so please do so before using it in a
> production environment. I'm a little short on time right this second so
> please post back if you need further instructions on its usage.
>
> --
> Dean Wells [MVP / Directory Services]
> MSEtechnology
> [[ Please respond to the Newsgroup only regarding posts ]]
> R e m o v e t h e m a s k t o s e n d e m a i l
>
> Drew wrote:
> > Hello everyone,
> >
> > I'm looking for a tool, where I can read from a CSV or TXT list of
> > user objects, and then make changes to a particular attribute to all
> > the listed users. I was hoping that there may be a microsoft tool in
> > one of the resource kits that could accomplish this, however I have
> > been unable to find one.
> > It can't be third party or anything that cost $$
> > I have been considering scripting something using VBscript, but would
> > prefer not to if possible.
> > If there are no tools, if anyone knows of any VBscript website where
> > possibly a script like this is already available or with sample code
> > that can point me in the right direction would be a great help.
> >
> > Thanks everyone
>
>
>
.



Relevant Pages

  • Re: Re-opening a file
    ... I can't read it back until I run the script again. ... doing X between closing and re-opening the file?". ... instance there are many ways for reading from a file. ... When someone asks you for sample code, ...
    (comp.lang.php)
  • Re: Scripting Active Directory attribute changes.
    ... Dean Wells [MVP / Directory Services] ... > users objects, then disable their AD accounts AND modify their ... >> I've enclosed a small shell script written quite some time back, ... >> MSEtechnology ...
    (microsoft.public.windows.server.active_directory)
  • RE: MBSA and MSs attempts at "security"
    ... >management etc but the truth is that only a tiny percentage of us has time ... >looking up VB script samples for management on microsoft's web site? ... >to find real and useful sample code for WMI scripting? ... Regarding the access to sample code and library information, ...
    (Focus-Microsoft)
  • Re: Dynamically load scripts from file to Microsoft Word
    ... was no sample code, and the funtion names were so general that I ... This would add a Script to an HTML document. ... You'll come into that part of the object model. ... This reply is posted in the Newsgroup; ...
    (microsoft.public.word.vba.general)
  • Re: Runtime error 1004/ Save As method help
    ... moda7884@xxxxxxxxxxx menuliskan: ... In my script I would like to save my workbooks to a mapped ... Runtime error 1004 - MS Office Excel cannot access the file ... Here is the sample code: ...
    (microsoft.public.excel.programming)