Hi Matt-5439,
To remove a static IP and DNS addresses to use a dynamic configuration using PowerShell, use these steps:
Open Start.
Search for PowerShell, right-click the top result, and select the Run as administrator option.
Type the following command to note the “InterfaceIndex” number for the network adapter and press Enter:
Get-NetIPConfiguration
Network interface information using PowerShell
Type the following command to enable the network adapter to obtain its TCP/IP configuration using DHCP and press Enter:
Get-NetAdapter -Name Ethernet1 | Set-NetIPInterface -Dhcp Enabled
In the command, make sure to change “Ethernet0” for the adapter’s name that you want to configure.
Type the following command to enable the network adapter to obtain its DNS configuration using DHCP and press Enter:
Set-DnsClientServerAddress -InterfaceIndex 3 -ResetServerAddresses
In the command, change “3” for the InterfaceIndex for the adapter to configure.
Enable DHCP for dynamic IP assignment using PowerShell
Once you complete the steps, the IP and DNS addresses will be reset from the adapter, and your computer will receive a new dynamic configuration from DHCP.
--If the reply is helpful, please Upvote and Accept as answer--