Solved

Powershell - AD GUI

Posted on 2011-03-11
2
858 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 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

Active Directory security has been a hot topic of late, and for good reason. With 90% of the world’s organization using this system to manage access to all parts of their IT infrastructure, knowing how to protect against threats and keep vulnerabil…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
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…

696 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