You are here
Home > Windows Server > Windows Server Setup and Implementation > What are the basic windows server commands in the command line interface (CLI)?

What are the basic windows server commands in the command line interface (CLI)?

Any windows server administrator should be familiar with the most basic command line utilities. These commands might vary of its purposes however it is essential for windows server administration and trouble shooting.

First make sure that TCP/IP networking is installed prior using command line utilities .

Note that to learn how to use any of the Net command-line tools, type net help at a command prompt followed by the command name, such as net help start.

To start the command tool, type in the search command and select it from the result. You may right click on it and choose run as administrator to have full privileges.

As an administrator, you should familiarize yourself with the following command-line utilities:

  • Appcmd
    • Displays and manages the configuration of IIS.  

Example:

  • Arp
    • Displays and manages the IP to physical address mappings used by  Windows Server 2008 to send data on the TCP/IP network.
    • Displays and manages the IP to physical address mappings used by  Windows Server 2008 to send data on the TCP/IP network.

Example:

  • Bcdedit
    • Displays and manages boot configuration data on the local system.

Example:

  • Dnscmd
    • Displays and manages the configuration of DNS services.  
    • Displays and manages boot configuration data on the local system.

Example:

  • Dnscmd
    • Displays and manages the configuration of DNS services.  

Example:

  • Diskpart
    • Displays and manages disk partitions on local and remote systems.

Example:

  • Ftp
    • Starts the built-in FTP client.  

Example:

  • Hostname
    • Displays the computer name of the local system.

Example:

  • Ipconfig
    • Displays the TCP/IP properties for network adapters installed on the system. You can also use it to renew and release DHCP information.  

Example:

  • Nbtstat
    • Displays statistics and current connections for NetBIOS over TCP/IP.  
  • Net
    • Displays a family of useful networking commands.

Example:

  • Netsh
    • Displays and manages the network confi guration of local and remote computers.  

Example:

  • Netstat
    • Displays current TCP/IP connections and protocol statistics.  

Example:

  • Nslookup
    • Checks the status of a host or IP address when used with DNS.  

Example:

  • Pathping
    • Traces network paths and displays packet loss information.

Example:

  • Ping
    • Tests the connection to a remote host. 

Example:

  • Route
    • Manages the routing tables on the system.  

Example:

  • Schtasks
    • Displays and manages scheduled tasks on local and remote systems.

Example:

  • ServerManagerCmd
    • Displays and manages the roles, roles services, and features on the system.  

Example:

  • Tracert
    • During testing, determines the network path taken to a remote system.  

Example:

  • Wbadmin
    • Performs backup and recovery operations, including system state recovery and recovery of any type of disk to an alternate location. Also gets disk details including name, GUID, available space, and related volumes.

Example:

  • Wevtutil
    • Displays and mana

Example:


Top