Quantcast
Viewing all articles
Browse latest Browse all 2770

Help setting VM's to use Static MAC using Powershell

Hi all,

I would like to create a powershell script to set all VM's with a Static MAC address on one of our Hyper-V Clusters.

So far I've managed to do this in the gui buy creating a new MAC Pool then shutting down 1 of the VM's and changing the network card from dynamic to static 00:00:00:00:00:00 within it's properties. After the changes are applied the VM is given a MAC address from my MAC pool range.

I'd now like to create a script to do this for the remaining VM's - could somebody possibly help me out.. I have tried using the 'view script' button but I don't understand the output.

Many thanks for your help

Robbie


Viewing all articles
Browse latest Browse all 2770

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>