This blog contains the brief descriptions of the Windows PowerShell cmdlets that are for use in Deploying Active Directory Domain Service. This has been used same for installing addsadministration Module. The Module is addsdeployment.
By default on Windows Server 2016 or Windows server 2019 this module will not be installed. we want to install it manually. Below are the steps to install. If you have already installed addsadministration module then this steps are same and not required.
This Module can be used in 2 ways, one is to access from remote server and another is to access from local machine.
For remote machine configurationof addsadministration
PowerShell Script:
Install-WindowsFeature RSAT-AD-PowerShell
GUI method to install this one on Windows server machine or client machine
Open Server Manager > Add Roles and Features
Select Role-based or feature-based installation > Next
Select your machine > Next
Don’t select any roles > Next
In Features > Select Remote Server Administration Tools > Role Administration Tools > AD DS and AD LDS Tools > Active Directory module for Windows Powershell
In Confirmation it will chows you Active Directory module for Windows Powershell > Click Install
This will starts installing which will takes approximately 30 seconds
Configuring on local machine(it should be an server OS)
PowerShell Script:
Install-WindowsFeature -Name AD-Domain-Services
GUI method to install this one on Windows server machine or client machine
Open Server Manager > Add Roles and Features
Select Role-based or feature-based installation > Next
Select your machine > Next
Select Active Directory Domain Services > Next
It will ask to install additional features which will be having Remote Server Administration Tools which we saw above > Add Features
As already Remote Features are added here it will be selected by default so click Next
It will gives the AD DS details and suggestions, as we are not configuring any Domain controller, we can click Next
It provides all the information which are getting installed, and it will installs Group Policy Management also, As we are configuring AD DS.
Once you press Install it will installs in 1 Minute and close.
Once You have completed with the Above Procedure we can use all the Below commands(cmdlets) which are associated with addsdeployment.