NETWORKING COMMANDS FOR WINDOWS ADMINISTRATION
Ping is used to test the ability of one
network host to communicate with another.
C:\>ping
<hostname>
C:\>ping
<hostname> -t
C:\>ping
-4 <hostname>
C:\>ping
-6 <hostname>
C:\>ping <ip address>
C:\>ping <ip address> -t
Hostname
Find local computer name from command line
c:\> hostname
NbtStat
Finding a computer name using IP (NetBIOS
over TCP/IP)
nbtstat
-a <ip_address>
NETSTAT
NETSTAT: Network Statistics
list of all active TCP connections from
your computer.
c:\> netstat
ARP
The ARP (Address Resolution Protocol ) command
corresponds to the Address Resolution Protocol, it gives MAC address of target
host.
c:\> arp -a <targethost-ip>
Tracert
Tracert works similarly to
Ping. The major difference is that Tracert sends a series of ICMP echo requests,
and the request’s TTL increased by 1 each time. This allows the utility to
display the routers through which packets are passing to be identified.
c:\> tracert -a <hostname>
c:\> tracert -a <host-ip>
NSLookup (Name
Server Lookup)
Display the name and IP address of the
device’s default DNS server.
c:\> nslookup
IpConfig
Display basic IP address configuration
information for the device.
c:\> ipconfig /all
The net user command is used to add,
remove, and make changes to the user accounts on a computer, all from the
Command Prompt.
net user [username [password | *] [/add]
[options]] [/domain]] [username [/delete] [/domain]] [/help] [/?
Example:
net user <user name> * (To reset the new password)
net user (To
show all users)
net user <user name> (To show info about the user)
- Get link
- X
- Other Apps
Comments
Post a Comment