The route PRINT
command shows the routing table. This gives some insight into your network connections.
C:\Users\Administrator>route PRINT =========================================================================== Interface List 18...1e 0f 6e 5d e1 25 ......Microsoft Wi-Fi Direct Virtual Adapter 13...4c 0f 6e 5d e1 25 ......Qualcomm Atheros AR5B97 Wireless Network Adapter 12...88 ae 1d 6d 09 bc ......Broadcom NetLink (TM) Gigabit Ethernet 20...00 50 56 c0 00 01 ......VMware Virtual Ethernet Adapter for VMnet1 22...00 50 56 c0 00 08 ......VMware Virtual Ethernet Adapter for VMnet8 1...........................Software Loopback Interface 1 19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3 21...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #4 23...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #5 =========================================================================== IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 172.18.31.1 172.18.31.51 25 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 172.18.31.0 255.255.255.0 On-link 172.18.31.51 281 172.18.31.51 255.255.255.255 On-link 172.18.31.51 281 172.18.31.255 255.255.255.255 On-link 172.18.31.51 281 192.168.231.0 255.255.255.0 On-link 192.168.231.1 276 192.168.231.1 255.255.255.255 On-link 192.168.231.1 276 192.168.231.255 255.255.255.255 On-link 192.168.231.1 276 192.168.233.0 255.255.255.0 On-link 192.168.233.1 276 192.168.233.1 255.255.255.255 On-link 192.168.233.1 276 192.168.233.255 255.255.255.255 On-link 192.168.233.1 276 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.231.1 276 224.0.0.0 240.0.0.0 On-link 192.168.233.1 276 224.0.0.0 240.0.0.0 On-link 172.18.31.51 281 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.231.1 276 255.255.255.255 255.255.255.255 On-link 192.168.233.1 276 255.255.255.255 255.255.255.255 On-link 172.18.31.51 281 =========================================================================== Persistent Routes: None IPv6 Route Table =========================================================================== Active Routes: If Metric Network Destination Gateway 1 306 ::1/128 On-link 20 276 fe80::/64 On-link 22 276 fe80::/64 On-link 13 281 fe80::/64 On-link 13 281 fe80::c57:993b:a496:999c/128 On-link 22 276 fe80::cc3:21bc:775c:279e/128 On-link 20 276 fe80::b982:1183:1ac4:eab2/128 On-link 1 306 ff00::/8 On-link 20 276 ff00::/8 On-link 22 276 ff00::/8 On-link 13 281 ff00::/8 On-link =========================================================================== Persistent Routes: None |
The arp -a
command will print the ARP table for the current network hardware.
C:\Users\Administrator>arp -a Interface: 172.18.31.51 --- 0xd Internet Address Physical Address Type 172.18.31.1 00-26-f1-f5-03-00 dynamic 172.18.31.255 ff-ff-ff-ff-ff-ff static 224.0.0.22 01-00-5e-00-00-16 static 224.0.0.252 01-00-5e-00-00-fc static 255.255.255.255 ff-ff-ff-ff-ff-ff static Interface: 192.168.231.1 --- 0x14 Internet Address Physical Address Type 192.168.231.255 ff-ff-ff-ff-ff-ff static 224.0.0.22 01-00-5e-00-00-16 static 224.0.0.252 01-00-5e-00-00-fc static Interface: 192.168.233.1 --- 0x16 Internet Address Physical Address Type 192.168.233.255 ff-ff-ff-ff-ff-ff static 224.0.0.22 01-00-5e-00-00-16 static 224.0.0.252 01-00-5e-00-00-fc static |
Use the net user administrator command to get information about your user.
C:\Users\Administrator>net user Administrator User name Administrator Full Name Comment Built-in account for administering the computer/domain User's comment Country/region code 000 (System Default) Account active Yes Account expires Never Password last set 5/22/2014 3:20:08 AM Password expires 7/3/2014 3:20:08 AM Password changeable 5/22/2014 3:20:08 AM Password required Yes User may change password Yes Workstations allowed All Logon script User profile Home directory Last logon 5/26/2014 1:51:17 PM Logon hours allowed All Local Group Memberships *Administrators Global Group memberships *None The command completed successfully. |
The well-known ipconfig
command will return your network address.
PS C:\Users\Administrator> ipconfig Windows IP Configuration Wireless LAN adapter Local Area Connection* 11: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Wireless LAN adapter Wi-Fi: Connection-specific DNS Suffix . : waggit.local Link-local IPv6 Address . . . . . : fe80::c57:993b:a496:999c%13 IPv4 Address. . . . . . . . . . . : 172.18.31.51 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 172.18.31.1 Ethernet adapter Ethernet: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Home Ethernet adapter VMware Network Adapter VMnet1: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::b982:1183:1ac4:eab2%20 IPv4 Address. . . . . . . . . . . : 192.168.231.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : Ethernet adapter VMware Network Adapter VMnet8: Connection-specific DNS Suffix . : Link-local IPv6 Address . . . . . : fe80::cc3:21bc:775c:279e%22 IPv4 Address. . . . . . . . . . . : 192.168.233.1 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : Tunnel adapter isatap.waggit.local: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : waggit.local Tunnel adapter isatap.{F0B02CC0-B57D-4BE1-8790-E3232110568F}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Tunnel adapter isatap.{6D496A85-668C-47FB-93CF-501C94B6B7F1}: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : |
When you are using CMD; type the powershell command to load Powershell within CMD.
C:\Users\Administrator>powershell Windows PowerShell Copyright (C) 2013 Microsoft Corporation. All rights reserved. PS C:\Users\Administrator> |
This is a useful trick. This also works in reverse.
Windows PowerShell Copyright (C) 2013 Microsoft Corporation. All rights reserved. PS C:\Users\Administrator> cmd Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved. C:\Users\Administrator> |
In the example above; I loaded CMD within Powershell.