1 2 3 |
Install-WindowsFeature AD-Domain-Services,GPMC -IncludeManagementTools $pass = ConvertTo-SecureString -AsPlainText "!QAZxsw2" -Force Install-ADDSForest -DomainName vamdemic.co.local -ForestMode Default -DomainMode Default -InstallDns:$true -CreateDnsDelegation:$false -DomainNetbiosName VAMDEMIC -DatabasePath C:\Windows\NTDS -LogPath C:\windows\NTDS -SysvolPath C:\windows\sysvol -NoRebootOnCompletion:$false -Force:$true -SafeModeAdministratorPassword $pass |