Site icon TOSS

addsdeployment

powershell

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 configuration of 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.

Add-ADDSReadOnlyDomainControllerAccountCreates a read-only domain controller (RODC) account that can be used to install an RODC in Active Directory.
Install-ADDSDomainInstalls a new Active Directory domain configuration.
Install-ADDSDomainControllerInstalls a domain controller in Active Directory.
Install-ADDSForestInstalls a new Active Directory forest configuration.
Test-ADDSDomainControllerInstallationRuns the prerequisites (only) for installing a domain controller in Active Directory.
Test-ADDSDomainControllerUninstallationRuns the prerequisites (only) for uninstalling a domain controller in Active Directory.
Test-ADDSDomainInstallationRuns the prerequisites (only) for installing a new Active Directory domain configuration.
Test-ADDSForestInstallationRuns the prerequisites (only) for installing a new forest in Active Directory.
Test-ADDSReadOnlyDomainControllerAccountCreationRuns the prerequisites (only) for adding a read-only domain controller (RODC) account.
Uninstall-ADDSDomainControllerUninstalls a domain controller in Active Directory.

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information. Paragraph

References are taken from official Microsoft websites

Exit mobile version