Deploy Active Directory Domain Using PowerShell
| | | |

Deploy Active Directory Domain Using PowerShell

Deploy Active Directory  Domain using PowerShell Let’s start by Setting the PowerShell Execution Policy to Unrestricted Set-ExecutionPolicy Unrestricted Next we will rename the server and install Prereq features. #rename the computer $newname = “LAB-DC-01” Rename-Computer -NewName $newname -force< #install features $featureLogPath = “c:\softlib\Shell\poshlog\featurelog.txt” New-Item $featureLogPath -ItemType file -Force $addsTools = “RSAT-AD-Tools” Add-WindowsFeature $addsTools Get-WindowsFeature |…