Hi
I'm making a script to configure some basic settings for new servers, and one of the features in the script is to set ip-address on the network interface.
At some servers there are several network interfaces, and I would like to create a menu based on the output from a get-query(Get-NetAdapter | select Name). Setting the ip-addresses is okay, but I'm having a problem creating a menu.
What I want to do: If there is more than one NIC, create a menu with each network interface.
Any clues?