Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2013-01-23
4
Medium Priority
?
563 Views
Last Modified: 2013-01-23
Experts,

I need a simple Powershell or VB Script to find all disabled AD accounts and move them to a specific OU.
0
Comment
Question by:Glenn M
  • 2
4 Comments
 
LVL 40

Accepted Solution

by:
Subsun earned 2000 total points
ID: 38810625
0
 
LVL 2

Author Comment

by:Glenn M
ID: 38810873
Subsun,

Thanks - I see the link, I will test and let you know.
0
 
LVL 18

Expert Comment

by:Sarang Tinguria
ID: 38810972
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
 
LVL 2

Author Comment

by:Glenn M
ID: 38812422
Subsun,

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

Thanks !
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
Active Directory can easily get cluttered with unused service, user and computer accounts. In this article, I will show you the way I like to implement ADCleanup..
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question