#DCPROMO / add new
DC
Install-WindowsFeature
AD-Domain-Services -IncludeManagementTools
Import-Module
ADDSDeployment
Install-ADDSDomainController
-DomainName "nordsoncorp.local" -DatabasePath
"E:\windows\NTDS" -LogPath "E:\windows\NTDS" -SysvolPath
"E:\windows\SYSVOL"
#uninstall DC
Uninstall-ADDSDomainController
-Confirm:$false -Force:$true
No comments:
Post a Comment