Hello,
Thanks for reaching out.
As per Microsoft guide related to MAC address parameter
Specifies the current MAC address of the network adapter. Dashes are optional as part of the input. Not all network adapters support setting the MAC address. The address passed in is also saved in the network addresses property without dashes.
Example : Set-NetAdapter -Name "Ethernet2" -MacAddress "00-10-18-57-1B-0D"
Thank you.