Question: Write power shell function/script to let the user know the state of ipv4 address on the computer (state can be static or dynamic IP). If

Write power shell function/script to let the user know the state of ipv4 address on the computer (state can be static or dynamic IP). If it is static IP address, request user input if he/she wishes to change state to dynamic, if answer is Y, change ipv4 address to dynamic IP. If the current state is dynamic, ask the user if he/she wishes to change status to static IP, if user decides change the state to static, and request for the static IP address, net mask, DNS and default gateway; set the new information on ipv4 interface ass given

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!