DeploymentResearch / DRFiles

Sample files for the Deployment Research Blog
MIT License
358 stars 322 forks source link

Authorize DHCP Domain #9

Open Wootangy opened 6 years ago

Wootangy commented 6 years ago

In the task sequence for DC01,does this script change the domain name in the Authorize DHCP step in the State Restore node? Thanks agian for this.

arwidmark commented 6 years ago

No, the script does not modify the task sequence xml (ts.xml).

ghost commented 6 years ago

Better way to authorize DHCP server in Active Directory during hydration is to remove the built in authorize step and use single line powershell command: Add-DhcpServerInDC. This will authorize DHCP server during hydration using the current domain admin account that is already used to run task sequence engine. No need to hardcode credentials in task sequence.

arwidmark commented 6 years ago

Thanks for the tip on using the Add-DhcpServerInDC cmdlet. Will update the kit.