Information Technology Reference
In-Depth Information
To be able to configure the Windows Server 2008/2008 R2 servers remotely, you must
first install Windows Management Framework 3.0 (WMF 3.0) and all of its prerequisites
on the Windows Server 2008/2008 R2 servers. No special configuration is required on the
Windows Server 2012 R2 server.
If you need to install WMF 3.0 on a Windows Server 2008 R2 Server Core
installation, you can do this by using the Deployment Image Servicing and Management
(DISM) commands. The command names that you would use for these features are as
follows:
MicrosoftWindowsPowerShell
MicrosoftWindowsPowerShell-WOW64
NetFx2-ServerCore
NetFx2-ServerCore-WOW64
To run these commands, you would run the following in Server Core:
Dism /online /enable-feature: <Feature Name>
It is important to remember that Dism is case-sensitive in the command
shown here.
Configuring Server Core
When configuring servers remotely, an administrator may have to configure a Server Core
system. Let's take a look at some of the Server Core commands that can be used to do some
basic server configurations.
When configuring Server Core, you may need to set the system for a static TCP/IP
address. Use the following Windows PowerShell commands:
Get-NetIPConfiguration allows you to view your current network
configuration.
Get-NetIPAddress allows you to view the IP addresses you are currently using.
If you want to set your static TCP/IP address, do the following:
1. In Windows PowerShell, run Get-NetIPInterface .
2. Write down the number shown in the IfIndex column of the output for the IP
interface or the InterfaceDescription string for the network adapter you want to
change.
3. In Windows PowerShell, run New-NetIPAddress -InterfaceIndex 10 -IPAddress
-192.168.15.2 -PrefixLength 24 -DefaultGateway -192.168.15.1 .
InterfaceIndex is the value of IfIndex from step 2 (in this example, 10 ).
 
Search WWH ::




Custom Search