Relative Content

Tag Archive for powershellipdhcp

How can I change an IP obtain from DHCP into a String? -PowerShelll

I am just getting started in powershell. My goal is to run a script that takes a users input (a device name) and searches the DHCP server and returns just the IP. It then converts the IP into a string and displays it on the console. I did some reseach online and have put together the following script.