<

PowerShell 7 - Running AD Cmdlets

Posted on
6,027 Points
27 Views
Last Modified:
Published
Experience Level: Intermediate
4:08
Edward van Biljon
Experienced Messaging Specialist with a demonstrated history of working in the information technology and services industry.
In this video we take a look at running ActiveDirectory cmdlets using PowerShell built-in to Windows Server 2016 and then running the same command from PowerShell 7.

Video Steps

1. Launch PowerShell 7 from the Start menu

Click on the start button and then expand thePowerShell folder and launch PowerShell 7 elevated.

2. Import module

Import the ActiveDirectory Module by running the command: Import-Module ActiveDirectory

3. Run Command

Type in the commands you would normally use into the window.
0
2 Comments

Expert Comment

by:Ivan Martinez Moran
hello i have error run powershell 7.0 help me please i not connect via azure cloud
0
LVL 26

Author Comment

by:Edward van Biljon
Hello the new Powershell has limited function, you should be able to use normal powershell until version 7 is fully supported in Azure, Exchange etc.
0
This article helps you to connect to Exchange Online Powershell with MFA enabled user.
This is a comparison of three common ways to run commands remotely on Windows machines. I will look at the risks, that are involved and make a recommendation based on that.