Would you like to learn how to configure a static IPV6 address on a network interface of Windows using Powershell? In this tutorial, we are going to show you how to use Powershell to configure a static IPV6 address on a network interface of a computer running Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7

Equipment list

Here you can find the list of equipment used to create this tutorial.

This link will also show the software list used to create this tutorial.

Related tutorial – PowerShell

On this page, we offer quick access to a list of tutorials related to PowerShell.

Tutorial Powershell – Configure a static IPV6 address

As an Administrator, start an elevated Powershell command-line.

Windows 10 - powershell elevated

List all network adapters available.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Take note of the desired network interface index.

Optionally, remove any IP address configuration from the network adapter.

Copy to Clipboard

Optionally, remove any DNS configuration from the network adapter.

Copy to Clipboard

Configure a static IPV6 address on a network interface.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Configure the DNS servers of a network adapter.

Copy to Clipboard

Verify the DNS servers configured on a network interface.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Verify the configuration of a network interface.

Copy to Clipboard

Congratulations! You are able to configure a static IPV6 address on a network interface using Powershell.