Solved

Powershell - AD GUI

Posted on 2011-03-11
2
820 Views
Last Modified: 2012-05-11
I'd like to put together a script that will perform a mass disable / enable of user accounts based on OU. I don't want the end users of this script to need to manually enter the distinguished name for the said OU.

One of the tools I used in VBS was a pop up box that rendered the AD tree, basically the same as the left half of the AD Users and Computers snapin. Is there anything like that available for powershell that I can use to retrieve the DN with?
0
Comment
Question by:timbrigham
2 Comments
 
LVL 27

Accepted Solution

by:
KenMcF earned 500 total points
Comment Utility
Take a look at PrimalForms. They have a prop version and a free comunity edition. This makes it easy to create your own powershell GUIs.


http://www.primaltools.com/products/info.asp?p=PrimalForms
0
 
LVL 16

Expert Comment

by:Dale Harris
Comment Utility
If you wanted to use a GUI, you could do it with PrimalForms:

http://www.primaltools.com/products/download.asp

Then just make your GUI once, it will show you the code for it, then you don't have to make another GUI.

You can do the free trial just for this script if you'd like.

As a workaround to a complete GUI:
I would recommend getting a list of the OU's you'd want to browse, and hardcode them into your Powershell Script.  Then have the user select it based on 1-10 or however many options you'd like to give them.

HTH,

Dale Harris
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
A procedure for exporting installed hotfix details of remote computers using powershell
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 from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now