Need a Powershell or VB Script to Find all Disabled AD accounts and move them to an OU

Experts,

I need a simple Powershell or VB Script to find all disabled AD accounts and move them to a specific OU.
LVL 2
Glenn MSystems Engineer / ManagerAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Glenn MSystems Engineer / ManagerAuthor Commented:
Subsun,

Thanks - I see the link, I will test and let you know.
0
 
Sarang TinguriaSr EngineerCommented:
Chris has a great GUI tool for all theese stuffs

Cjwdev | AD Info - Active Directory Reporting www.cjwdev.co.uk/Software/ADReportingTool/Info.html

Or

AdFind by joe but CLI
www.joeware.net/freetools/tools/adfind/index.htm
0
 
Glenn MSystems Engineer / ManagerAuthor Commented:
Subsun,

It worked after I figured out how to run a PS1 file.  ;)

Thanks !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.