I am working on a script to automate vm's based on templates. Everything works but i am unable to set the ipv6 addressing. Does anyone know how i can set the ipv6 addressess ?
I have this line working for now:
Get-OSCustomizationNicMapping -OSCustomizationSpec $OSCusSpec | Set-OSCustomizationNicMapping -IPMode UseStaticIP `
-IPAddress $ipv4 `
-SubnetMask $mask `
-DefaultGateway $gateway `
-Dns $dns1,$dns2
I need to set ipv4 and ipv6 addressing in the deployment. The vm being deployed is a windows VM.