The following script will import Active Directory module which is required for Active Directory related commands
Import-module ActiveDirectory;
Once this script is executed, it is possible manage domains and objects in Active Directory and retrieve information about the objects. The PowerShell module is a part of the Remote Server Administration Tools (RSAT) in all Windows desktop operating systems. It is easier to install the PowerShell Module on Windows 8, 8.1 and 10 compared to other Windows versions. On Windows Server 2012, 2012 R2 and 2016, the PowerShell module is installed as a separate feature. Using the command: Get-Command –module ActiveDirectory, it is possible to get a complete list of available Active Directory cmdlets. The PowerShell module for AD can also be installed using PowerShell by executing the following script: Add-WindowsFeature RSAT-AD-PowerShell
However, using ADManager Plus, you can manage and report on Active Directory objects, Office 365, Exchange servers from a single console, without the need to resort to scripts.
Highlights:
For AD User Management
For AD User Reporting
For GPO Management
For Password Management
For AD Group Management
For File Access Management
For AD Computer Management
For Office 365 Management
For Exchange Management