Quickly Unlock AD User Accounts with PowerShell

In this tutorial, I’ll show you how to quickly unlock AD User accounts with PowerShell. I’ve included examples for unlocking a single user account and unlocking all locked users at once. These PowerShell commands require the ActiveDirectory module to be installed. It’s best that you install the RSAT tools on the computer that you want…

Continue Reading

Join Computer to Domain Using PowerShell

In this tutorial, you’ll learn how to join a computer to the domain using PowerShell. I will provide step by step instructions for adding a single computer and multiple computers to the domain. Also, I’ll show you how to move the computer to an OU once it’s been added to the domain. Let’s get started.…

Continue Reading

Export Users From Active Directory

How to export users from Active Directory

In this tutorial, I will show you how to export users from Active Directory to a csv. Exporting a list of Active Directory users is a common request I see. This is requested for a number of reasons such as, migrating users, auditing and reporting, importing to other programs and so on. Below, I walk…

Continue Reading

PowerShell: Export Active Directory Group Members

How to export Active Directory group members using PowerShell

One common request I see is getting a list of users that belong to an Active Directory security group. This is requested for various reasons such as, supervisor wants to know who has access to a folder, auditor wants a list of users, 3rd party program or cloud service needs to import a list of…

Continue Reading

How to install PowerShell modules

A PowerShell module is a grouping of various functions that operate as a single mini program. Modules are used to interact with various applications such as Windows, VMWare, Active Directory, Office365, SANS and so on. Each module is stored in a folder where it contains the necessary files for the PowerShell commands. Although PowerShell comes…

Continue Reading