I’m having a really hard time making a script which contains 4 functions which will automatically draw a box menu and change your TCP/IP settings from static to DHCP or vice versa.
Create a Set-DHCP function to enable DCHP on the local computer
Create a Set-StaticIP function to change from DHCP to static addressing.
Make sure to SetDynamicDNSRegistration to “false”.
If anyone can help, that will be greatly appreciated. THANKS
The menu should look like this below.