Solved

Powershell - AD GUI

Posted on 2011-03-11
2
832 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
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Synchronize a new Active Directory domain with an existing Office 365 tenant
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
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 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 …

895 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

15 Experts available now in Live!

Get 1:1 Help Now