You have a server named Server1 that runs a Server Core installation of Windows Server 2012.
Server1 is configured to obtain an IPv4 address by using DHCP.
You need to configure the IPv4 settings of the network connection on Server1 as follows:
IP address: 10.1.1.1
Subnet mask: 255.255.240.0
Default gateway: 10.1.1.254
What should you run?
A.
ipconfig.exe
B.
netsh.exe
C.
Set-NetIPInterface
D.
Set-NetIPv4Protocol
Explanation:
In order to configure TCP/IP settings such as the IP address, Subnet Mask, Default Gateway,
DNS and WINS addresses and many other options you can use Netsh.exe.
Incorrect:
not A: Windows Server 2012 Core still has IPCONFIG.EXE that can be used to view the IP configuration.
Modern servers typically come with several network interface ports. This causes IPCONFIG.EXE to scrolloff
the screen when viewing its output. Consider pipingthe output if IPCONFIG.EXE to a file and view it with
Notepad.exe.
Why not C, it does change the IP same as B?
http://technet.microsoft.com/en-us/library/hh826151.aspx
.
Set-NetIPInterface
You can use this command to enable or disable DHCP for an interface.