Top windows OS and Server commands for 2023
- Windows + R = Run prompt
- CMD = Command prompt In command prompt execute the below
- Assoc = Associates file types
- Netstat -aon = Displays TCP and UDP connection port's status Local address - Ip address of your laptop/Desktop/Windows Server Foreign address - Ip address of the remote machine to which our system has established connection to Time_wait in netstat - When the local address closed its connection to the foreign address, the foreign address waits to ensure whether the local address received the last acknowledgement Close_wait in netstat - When the foreign address closed the connection and the local address waits to close the connection it established. SYN_SENT means when the local address sent a request to the server(foreign address) but the remote end is not accepting it. 5.Pathping google.com - It traces the routes from your local system address to destination address, including the test packets. 6.Tracert google.com- It displays the path taken from local machine address to destination address. Telnet domain name port name - It allows a system to take remote of the destination ip address or domain name. 7.ipconfig /flushdns - It clears the DNS records and Ip address information stored in the local system cache memory. 8.ipconfig /renew - Gets a new Ip address for your local system Laptop/Desktop. 9.sfc /scannow - Scans the system and repairs the damaged or corrupt files with the files available in cache memory. 10.systeminfo - Displays the complete information about your local system. 11.nslookup google.com - Displays the Ip address records of a particular domain 12.Ver - Displays the version of your windows operating system 13.mkdir example - creates a directory named example 14.tasklist - Displays list of all running tasks 15.ipconfig /all - Gives you a detailed information about the networks in your system, including the mac address. 16.ipconfig /flushdns - It clears the DNS records present in your local system's cache 17.ipconfig /release - It releases the Ip address allocated for your system and when you type Ipconfig /renew - It gives a new Ip address to your local system from the DHCP server.
- getmac -v - This gives the mac address associated with your system.
- chkdsk - This fixes any disc failure or any third-party interference in your system.
- netsh interface show interface - It shows the interfaces in your system example is wifi and ethernet interface.
- cipher /e - When you type this command in cmd, it encrypts the files and folders located in your system.
- title yourname - changes the command prompt's title name.
- curl -OLC https://locationofthefiletobedownloaded - this command downloads the files to your local system, there are various commands associated with curl, checkout curl --help. 24. #azure #microsoft #server #windows11
Top comments (0)