Important Commands - TannerWeinacker/Tech-Journal GitHub Wiki

Important Commands

  • Get-WindowsFeature -name dhcp

  • Install-WindowsFeature DHCP -IncludeManagementTools *Add-DhcoServerv4Scope -ComputerName fs01-tanner.weinacker -name "Scope" -StartRange 10.0.5.100 -EndRange 10.0.5.150 -SubnetMask 255.255.255.0 -LeaseDuration 8:0:0:0

  • Set-DhcpServerv4Optionvalue -computername fs01-tanner -Router 10.0.5.2 -dnsserver 10.0.5.6 -DnsDomain tanner.local

  • get-dhcpserverv4scope

  • Make sure you complete the DHCP setup on the AD