Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi together,

i need a soloution which collect all users from a location in AD and add them to a "location All Users" Group

i have tried Powershell but this was far to slow to run once a day in our enviroment.

parameter for our enviroment (6 Domain Productiv , 6 Domains Integration) arround 200k User 300 Location

Goal would be to have a script/program (c# or vbs) witch can collect all users in a location and add them to the all Users Group and remove if not anymore in this location or disabled.

structure AD

root\world\country\location

for additional Information just ask

greetings

Unaragan



ok just to clearify something .. i have a running Powershell script which is working but damm slow because that Powershell is not able to free Ram space after using variables..

i do not look for a complete soloution in this .. i just dont know to start to get in a program connected to the 6 Domains..
Posted
Comments
notjustme 27-Feb-15 14:41pm    
If your goal is to do this in C# or vbs, why tag PowerShell and VB.NET? Assuming I provide you with the solution, what and how do you intend to pay me? This obviously is you placing an order rather than asking for help with a programming issue.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900