Advertisement
Gabri_RDiaz

Script AD/DS

May 29th, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. Import-Module ADDSDeployment
  2. Install-ADDSForest `
  3. -CreateDnsDelegation:$false `
  4. -DatabasePath "C:\Windows\NTDS" `
  5. -DomainMode "WinThreshold" `
  6. -DomainName "grd.int" `
  7. -DomainNetbiosName "GRD" `
  8. -ForestMode "WinThreshold" `
  9. -InstallDns:$true `
  10. -LogPath "C:\Windows\NTDS" `
  11. -NoRebootOnCompletion:$false `
  12. -SysvolPath "C:\Windows\SYSVOL" `
  13. -Force:$true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement