Run IPCONFIG /ALL remotely by using PSEXEC

By | May 19, 2016

For System Administrators, it is important to know the Windows command line commands like how to get the output of remote servers or computers by running commands from local machine. Now lets discuss about how to run IPCONFIG /ALL remotely by using PSEXEC to get the IPCONFIG /ALL details from the remote systems or servers.

Run IPCONFIG /ALL remotely by using PSEXEC

From your desktop or laptop, need to go to the command line (Run As Administrator or with elevated access)

psexec \\remotecomputer ipconfig /all

Note: psexec is not internal windows command, need to be download from the Microsoft site (PStools) or if it is already available in your machine, make sure you run from that folder where the PSEXEC file available)

Example output which you can find from Command Prompt –

C:\localbinx64>psexec \\ServerA ipconfig /all

PsExec v1.21 – execute processes remotely
Copyright (C) 2001 Mark Russinovich
www.sysinternals.com

Windows IP Configuration

Host Name . . . . . . . . . . . . : ServerA
Primary Dns Suffix . . . . . . . : braddom.bradforest.test
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : braddom.bradforest.test
How do viagra 100 mg http://deeprootsmag.org/category/gospelset/gospel-picks/?feedsort=rand these idiots get your email address. cialis overnight online The list of ED treatment varies from counseling, lifestyle changes, medicines and surgery. On another interesting note, you won’t want to achieve deep relaxation while trying to get into high gear for a competition; nor will they want viagra sample free to achieve greater flexibility than what they are already adapted to. It is also characterized by cheap viagra in usa deeprootsmag.org situational or reactive depression.
Ethernet adaptor CORP:

Connection-specific DNS Suffix . : braddom.bradforest.test
Description . . . . . . . . . . . : HP NC7782 Gigabit Server Adapter #2
Physical Address. . . . . . . . . : 00-13-21-0D-85-15
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 157.51.6.176
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 157.51.6.1
DHCP Server . . . . . . . . . . . : 157.5.114.84
ipconfig exited on servers with error code 0.4.162

Run IPCONFIG /ALL remotely by using PSEXEC for multiple servers

If you have more than one computer, you can put the computer names in a text file (example: computerlist.txt) and run it like this

psexec @computerlist.txt ipconfig /all

You have to run the above steps with elevated or admin privileges from Command Prompt, otherwise it will not work.

Just follow the above steps to get the output of remote server / computer by using ipconfig /all command from your local laptop or desktop. ipconfg /all commands to helps to get remote server IP address, subnet mask, DNS records, DHCP ip address, gateway and whether the remote server configured on IPV4 or IPV6.

Leave a Reply

Your email address will not be published. Required fields are marked *