Is there any way to get the network configuration of a Virtual-Machine from the Hyper-V host?

I need to get:

  • Default gateway
  • Preferred nameserver
  • Alternate nameserver
  • IP adress
  • Subnetmask

from both Windows guest and pfSense (FreeBSD) guest machines.

I already tried using Get-VMNetworkAdapter on PowerShell, but this returned only the IP addresses from Windows guests and not even the IP adresses from FreeBSD guests.

Is there any chance to get this informations without logging on and look direct at the machine's console?

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.