The Get-NetIPConfiguration will use in Windows Server 2012 to get the configuration of the network as this command will also gets the useable interface, IP Address and DNS Servers.
Following are the some of the examples of the NetIPConfiguration Command.
- Get the IP Configuration:
1 |
PS C:\>Get-NetIPConfiguration |
If you will run this command in your Windows Server 2012 Powershell this will returns you the information of the IP Configuration for all the non-virtual connected interfaces.
Get All IP Configuration details:
1 |
PS C:\>Get-NetIPConfiguration -All |
If you will run this command within your Windows Server 2012 Powershell, this will return you all the available interfaces including the virtual, loopback or disconnected interfaces.