Retrieve a VM's MAC address.

Oct 1, 2011 at 7:34 AM

Hi, All

I'm new to PowerShell and Hyper-V, so I'm a bit behind the eight ball.

I'm creating  a script to automate the creation of Hyper-V VMs.  I can create the VMs successfully, though during the creation process I need to capture a MAC address from each VM.  Each VM is being created with two adapters, one emulated and one synthetic.  I need to capture the MAC address assigned to the emulated adapter.  

Can anyone assist?

Thank you!


Oct 17, 2011 at 2:17 PM

Can you post your script or part with network adapters creating?