Need to get IPCONFIG /ALL from a computer remotely?

I know people have scripted this, but this is so much easier...  You could use PSExec for running other commands as well, but someone recently asked me an easy way to get the IP info so here it is.  If you just want to be sitting at a command prompt on the remote computer then you could just run "PSEXEC \\ServerB cmd" and then you go run whatever command you'd like.

https://www.microsoft.com/technet/sysinternals/utilities/psexec.mspx

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
                                      

Ethernet adapter 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 servera with error code 0.4.162