PowerShell: Connect to Office 365 (Step by Step Guide)

Table of contents: Install required PowerShell Modules Connect to Office 365 with powerShell List PowerShell module commands Example Office 365 Powershell commands Step 1: Install Required PowerShell Modules Before you can connect to Office 365 you first need to install the required modules. Unfortunately, Microsoft is now recommending you install two modules to manage Office … Read more

Create Active Directory Security Groups with PowerShell

In this guide, I’m going to show you how to create single and bulk Active Directory security groups with PowerShell. I will provide examples and a script for creating bulk groups from a CSV file. New-ADGroup cmdlet The New-ADGroup cmdelet is the command used to create Active Directory groups. I won’t cover all of the … Read more

Find Nested Groups in Active Directory

In this guide, I’ll show you how to find nested groups and get nested group membership. First I’ll show you how to get nested group membership using PowerShell. Then I’ll show you the Group Membership report tool that can search all groups, a single group, all groups in an OU, or all users in an … Read more

Huge List Of PowerShell Commands for Active Directory, Office 365 and more

This is the ultimate collection of PowerShell commands for Active Directory, Office 365, Windows Server and more. These commands will help with numerous tasks and make your life easier. Table of Contents: Active Directory Commands Office 365 Commands Windows Server & Client Commands Basic PowerShell Commands Active Directory PowerShell Commands View all Active Directory commands … Read more

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 … Read more