VMware Cloud Community
lexit
Contributor
Contributor

Set-OSCustomizationNicMapping ipv6 settings

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.

Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

See my reply on a similar thread Re: how to clone a vm & set ipv6 use powercli?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos