Solved

Powershell - AD GUI

Posted on 2011-03-11
2
852 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 27

Accepted Solution

by:
KenMcF earned 500 total points
ID: 35109941
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
ID: 35109955
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

Office 365 Advanced Training for Admins

Special Offer:  Buy 1 course, get 2nd free!  Buy the 'Managing Office 365 Identities & Requirements' course w/ Accelerated TestPrep, and automatically receive the 'Enabling Office 365 Services' course FREE!

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
A hard and fast method for reducing Active Directory Administrators members.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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