Configuring Networking in Server Core

  1. Open PowerShell on the Server Core.
  2. Get the current Interface Index of the adapter you want to configure.
    1. Issue command “Get-NetAdapter”

Capture

  1. Assign IP, Prefix Length, and Gateway for the interface you want to configure.
    1. Issue command “New-NetIPAddress -InterfaceIndex 3 -IPAddress 10.1.0.11 -DefaultGateway 10.1.0.1 -PrefixLength 24”

Capture

  1. NOTE: This is the equivalent of the section in the UI version specified below.

Capture

  1. Assign DNS Servers to use.
    1. Issue command “Set-DnsClientServerAddress -InterfaceIndex 3 -ServerAddresses 10.1.0.11”
    2. NOTE: This is the equivalent of the section in the UI version specified below.

Capture

Renaming Network Adapter

NOTE: It may be beneficial to rename adapter for documentation and clarification purposes.

  1. Get the current list of the Network Adapter.
    1. Issue command “Get-NetAdapter”

Capture

  1. Identify the adapter you want to rename and initiate change.
    1. Issue command “Get-NetAdapter -Name Ethernet0 | Rename-NetAdapter -NewName “Management”

Capture

  1. Confirmation.
    1. Capture