Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: [ActiveDir] Script to change account status
Prev Next
You are not authorized to post a reply.

AuthorMessages
adriaoramosUser is Offline

Posts:23

07/06/2010 7:14 PM  
halo friends.
I need a new help....
Is there any way to change, via script a list of users?
I have many users that need to be desabled, and I want to find out a way
to disable their account via scrip
Thanks.....

Imprima apenas o Essencial - Prefira as opções Frente & Verso e Branco & Preto

SABESP 3Rs: Reduzir/Reutilizar/Reciclar

Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO AMBIENTE.

Este ambiente esta sujeito a monitoramento.

This environment can be checked


AVISO LEGAL
As informações contidas nesse e-mail e documentos anexos são dirigidas exclusivamente ao(s) destinatário(s) acima indicados, podendo ser confidenciais e/ou legalmente privilegiadas. Qualquer tipo de utilização dessas informações por pessoas não autorizadas esta sujeito as penalidades legais. Caso você tenha recebido essa mensagem por engano, envie por favor uma mensagem ao remetente, apagando-a em seguida.

LEGAL ADVICE
This message is for use by the intended recipient and contains information that may be privileged, confidential and/or under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system.

RickSheikhUser is Offline

Posts:296

07/06/2010 7:20 PM  
*Import-CSV | Disable-QADUser*

Using PowerShell with Quest Cmdlets.

On Tue, Jul 6, 2010 at 1:13 PM, <adriaoramos@sabesp.com.br> wrote:

> halo friends.
> I need a new help....
> Is there any way to change, via script a list of users?
> I have many users that need to be desabled, and I want to find out a way to
> disable their account via scrip
> Thanks.....
>
>
>
>
>
> Imprima apenas o Essencial - Prefira as opções Frente & Verso e Branco & Preto
>
> SABESP 3Rs: Reduzir/Reutilizar/Reciclar
>
>
> Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO AMBIENTE.
>
> Este ambiente esta sujeito a monitoramento.
>
> This environment can be checked
>
>
> AVISO LEGAL
>
> As informações contidas nesse e-mail e documentos anexos são dirigidas exclusivamente ao(s) destinatário(s) acima indicados, podendo ser confidenciais e/ou legalmente privilegiadas. Qualquer tipo de utilização dessas informações por pessoas não autorizadas esta sujeito as penalidades legais. Caso você tenha recebido essa mensagem por engano, envie por favor uma mensagem ao remetente, apagando-a em seguida.
>
> LEGAL ADVICE
>
> This message is for use by the intended recipient and contains information that may be privileged, confidential and/or under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system.
>

pbbergsUser is Offline

Posts:176

07/06/2010 7:22 PM  
You could use adfind and admod and not have to script if you can delimit to a subset within adfind. These are freeware tools from Joe Richards.


http://blog.joeware.net/2008/04/28/1202/


Thanks

Paul


From: activedir-owner@mail.activedir.org [mailto:activedir-owner@mail.activedir.org] On Behalf Of adriaoramos@sabesp.com.br
Sent: Tuesday, July 06, 2010 1:13 PM
To: activedir@mail.activedir.org
Cc: activedir@mail.activedir.org; activedir-owner@mail.activedir.org
Subject: [ActiveDir] Script to change account status

halo friends.
I need a new help....
Is there any way to change, via script a list of users?
I have many users that need to be desabled, and I want to find out a way to disable their account via scrip
Thanks.....



Imprima apenas o Essencial - Prefira as opções Frente & Verso e Branco & Preto

SABESP 3Rs: Reduzir/Reutilizar/Reciclar

Antes de imprimir pense em sua responsabilidade e compromisso com o MEIO AMBIENTE.

Este ambiente esta sujeito a monitoramento.

This environment can be checked


AVISO LEGAL
As informações contidas nesse e-mail e documentos anexos são dirigidas exclusivamente ao(s) destinatário(s) acima indicados, podendo ser confidenciais e/ou legalmente privilegiadas. Qualquer tipo de utilização dessas informações por pessoas não autorizadas esta sujeito as penalidades legais. Caso você tenha recebido essa mensagem por engano, envie por favor uma mensagem ao remetente, apagando-a em seguida.

LEGAL ADVICE
This message is for use by the intended recipient and contains information that may be privileged, confidential and/or under applicable law. If you are not the intended recipient, you are hereby formally notified that any use, copying or distribution of this e-mail, in whole or in part, is strictly prohibited. Please notify the sender by return e-mail and delete this e-mail from your system.


You are not authorized to post a reply.
Forums >ActiveDir Mail List Archive >List Archives > [ActiveDir] Script to change account status



ActiveForums 3.7
Friends

Friends

VisualClickButoton
Members

Members

MembershipMembership:
Latest New UserLatest:Dallas
New TodayNew Today:1
New YesterdayNew Yesterday:2
User CountOverall:4871

People OnlinePeople Online:
VisitorsVisitors:52
MembersMembers:0
TotalTotal:52

Online NowOnline Now:

Ads

Copyright 2009 ActiveDir.org
Terms Of Use