I'm working with the Hyper-v and have created a VM using Vagrant.
Seems to be in the Vagrantfile
I've forgotten to define an IP address (static or dhcp use).
Now I can view the info about the VM's network adapter.
get-vm -n 2012R2 | Select -ExpandProperty NetWorkAdapters
And the result info is the next:
Network Adapter False 2012R2 VM Virtual Switch 00155DFA9F01 {Degraded, ProtocolVersion} {}
As you can see the MAC address is defined, the switch is the external one. But the last property value (which relates to the bound IP-address) is NOT defined.
Does exist the way to set manually the IP address for the VM machine in Hyper-V using Powershell or even GUI manager (didn't find possibility to set an IP in GUI).