Werbung: SecurityConsole.de verwaltet Ihre Computer mit Security Essentails aus der Cloud!
30 Tage kostenfrei testen und 20% Rabatt für Ihre Bestellung mit Promocode: WBF2685582
(Promocode gültig bis 31.12.2011)

Group:  English: Windows Server » microsoft.public.windows.server.scripting
Thread: Remove users with @xyz email attribute from all groups in an OU

HTVi
TV Discussion Newsgroups

Remove users with @xyz email attribute from all groups in an OU
Ahkeer 7/13/2007 3:02:02 AM
Hello All,
I am new to scripting and fairly new to AD so please be patient with me :-)

We have recently sold a company. They still use resources in the forest for
exchange. I am being asked to remove all employess of this sold company from
all d-lists/groups so that they may no longer receive mail intended for
current employess only. All of the groups are in the same OU, and the
companies have different email addy's

I imagine a script that can search the groups in the OU for all members with
the sold companies email addy, and then remove them from the groups.

Thanks for any advice.

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net
Suche nach Orten, Städten, Postleitzahlen, Vorwahlen, Kfz-Kennzeichen