How to Assign Static IP Address – Server 2012R2

0

Powershell Script for How to Assign Static IP Address and DNS Name Servers to a local machine.

New-NetIPAddress
-InterfaceIndex 10

-InterfaceAlias ‘Ethernet’
-IPAddress 172.16.0.101

-PrefixLength 16
-DefaultGateway 172.16.0.1

Set-DNSClientServerAddress
-InterfaceIndex 10
–InterfaceAlias "Ethernet"

–ServerAddress 192.168.16.10, 192.168.16.11

Or you can use the Server sconfig Menu,

How to Assign Static IP Address - Server 2012R2

If You want to enable Echo Request ICMP-IPv4 Ping Response From sconfig

How to Assign Static IP Address - Server 2012R2

You now have enabled Echo Request ICMP-IPv4 Ping Response

How to Assign Static IP Address - Server 2012R2

Success! We have a response from the Hyper-V Server.

hypervguide

Share.

About Author

Leave A Reply

LIKE WHAT YOU'VE READ?
If so, please join the community.  I’d love to send you exclusive content right to your email, and I’ll send you a free copy of my book, VMware vSphere 6.0 Lab on Workstation too!
Enter your name and email below, and I’ll see you on the inside!

SUBSCRIBE