Updates from QA Training

Performing Bulk changes to Active Directory Objects via Windows PowerShellI

Sometimes we need to script bulk changes, and that is where Windows PowerShell comes in useful


Bryan O'Connor | 10 April 2013

Sometimes we need to script bulk changes, and that is where Windows PowerShell comes in useful

One of the courses I teach is the Microsoft Windows 2012 Installing and Configuring course, the Microsoft designation is the 20410B .

In the presentation, we look at modifying multiple user accounts via the Microsoft PowerShell.

Graphical tools work well in many situations, but they cannot be automated. To automate AD DS administration, you require command-line tools.

Command-line tools can be used in scripts, or they can be used by other applications.

Some benefits of using command-line tools are:

Faster implementation of bulk operations. For example, you can export a list of new user accounts from a human resources application. You use a command-line tool or script to create the new user accounts based on the exported information. This is much faster than creating each new user account manually.

Customized processes for AD DS administration. You can use a customized graphical program to gather information about a new group, and then create the new group. When the information is gathered, the graphical program can verify that the information format-such as the naming convention-is correct. Then, the graphical program uses a command-line tool to create the new group. This process allows company-specific rules to be enforced.

AD DS administration on Server Core. The Server Core installation of Windows Server cannot run graphical administration tools such as Active Directory Users and Computers. However, you can use command-line tools on Server Core.

The demonstration is available at the BryanQA Youtube site .

Bryan O'Connor

Senior Technical Instructor

Bryan O’Connor is a Senior Technical Instructor at QA, teaching VMware, Microsoft and CompTIA courses. In the past, Bryan has also been certified by Novell as a MCNI (Master Certified Novell Instructor). Bryan started in the world of IT in 1986 and has worked in a variety of roles ranging from PC support technician to Network design and consultancy, to Virtualisation consultant. At last count, Bryan held over 40 professional VMware, Microsoft, Novell and CompTIA certifications. Bryan has advised many large organisations on their IT and project management needs to allow them to benefit from the increase in productivity provided by computer systems. In addition to teaching, Bryan does a variety of jobs in QA, including supporting the sales staff and setting up the classrooms. Outside of QA, Bryan enjoys spending time with his wife Tracey and their two daughters Meagan and Jessica, unless there’s a grand prix on the TV when he enjoys paying Tracey, Meagan and Jessica to disappear for the day.
Talk to our learning experts

Talk to our team of learning experts

Every business has different learning needs. QA has over 30 years of experience in combining the highest quality training with the most comprehensive range of learning services, ensuring the very best fit for your organisation.

Get in touch with our learning experts to talk about how we can help.