64.4k views
5 votes
You have installed a new Server Core Computer. You execute the following command in PowerShell: New-NetIPAddress -InterfaceAlias "Ethernet" -PrefixLength 24. What is the purpose of this command?

a. To configure a new user account
b. To enable Windows Remote Management
c. To set the IP address and subnet mask of the network interface
d. To create a new network interface

1 Answer

1 vote

Final answer:

The PowerShell command 'New-NetIPAddress' configures the IP address and subnet mask of a network interface on a Server Core computer, where 24 is a prefix length representing a standard subnet mask.

Step-by-step explanation:

The command New-NetIPAddress in PowerShell is used to configure the IP address and subnet mask of a network interface on a computer, particularly a Server Core installation which typically does not have a graphical user interface (GUI). The InterfaceAlias specifies the name of the network interface to configure, in this case, "Ethernet". The PrefixLength indicates the subnet mask using CIDR notation, a prefix length of 24 corresponds to a subnet mask of 255.255.255.0. This command does not create user accounts, enable remote management, or create a new network interface.

User Ofek Agmon
by
7.8k points