I have a Powershell script (using the Powershell library) to create a
VM using some custom settings.
I'm looking for a way to enable the created VM's network adapter
option "Enable Spoofing Of MAC Addresses" in the script.
On Hyper-V manager, when is Add-VMNic is used to add a NIC to the VM,
there is no option to enable MAC spoofing.
Any ideas/suggestions if there is a workaround?
If the script is run on SCVMM, New-VirtualNetworkAdapter is used and
it supports the MAC spoofing option.