Today I had to install a new System Center Configuration Manager 2012 R2 environment. One of the features this customer is going to use is OS Deployment. In this environment we are using the Build & Capture task sequence voor deploying a Master Image of Windows 8.1. The Master Images will be deployed in Hyper-V. One of the important steps is to import the “Master VM” into the ConfigMgr database. Two things you’ve to know are….PC name and the MAC address. With this PowerShell command you can find all the MAC addresses very easy!
1.) Open Microsoft PowerShell on your Hyper-V server
2.) First list all the VM’s
Get-VM
3.) List the name of the VM, MAC address, Virtual Switch name and IP address
get-vm -Name SC2012R2-PC0002 | select -ExpandProperty networkadapters | select vmname, macaddress, switchname, ipaddresses
4.) Import the VM into ConfigMgr