DHCP IS DOWN! - Henryisgreat/TechJournalSystemAdmin GitHub Wiki

The scenario is that the DHCP server has been evaporated and a temporary server is needed, we can accomplish turning FS01 into DHCP with some simple commands:

Install-WindowsFeature -Name 'DHCP' –IncludeManagementTool This can be run in powershell on FS01 to add a feature. This is the preferred method as it skips a bunch of unnecessary GUI nonsense

Follow with these two commands which configure scope and router/gateway configuration respectively. Add-DhcpServerV4Scope -Name "DHCP Scope" -StartRange 192.168.1.150 -EndRange 192.168.1.200 -SubnetMask 255.255.255.0

Set-DhcpServerV4OptionValue -DnsServer 192.168.1.10 -Router 192.168.1.1

Now time to configure the less crucial stuff like lease time Set-DhcpServerv4Scope -ScopeId 192.168.1.10 -LeaseDuration 1.00:00:00

Dont forget to restart DHCP and youre finished with FS01 Restart-service dhcpserver

IN Active Directory:

Under Tools, add a feature to enable DHCP on AD which will allow you to access the DHCP rules for FS01. Once that has installed, open it and add FS01 as a trusted server.