Skip to content Skip to sidebar Skip to footer

Cmd Command on Server to Read the Amount of Memory

The Windows command prompt is a feature that's been a core part of the Windows operating organization for a long fourth dimension. There are some CMD commands that are and so useful and easy to apply that even regular users see the Windows command prompt as a fundamental part of the operating system.

In that location are ever rumors that information technology will be phased out at some point, but that'south unlikely to happen any time soon.

The following are 21 of the best CMD commands you should know if you desire to accept more command over your Windows PC.

Also, exist certain to check out our YouTube video where nosotros go over the commands listed in this article:

one. ASSOC: Fix File Associations

One of the virtually powerful tools in the CMD control library is the ASSOC command.

Your computer associates certain file extensions with certain programs. This is how your computer knows to open Adobe when you double click a PDF file, or Microsoft Give-and-take when you lot double click a DOC file.

You can view all the file associations your estimator knows almost by typing ASSOC in the command window. You'll see the file extension and the program information technology's associated with.

You can ready the clan by typing something like assoc .doc=Word.Certificate.8.

two. FC: File Compare

Sometimes when files are changed over time, it's hard to remember what the differences were between versions. You lot may non know that a CMD command offers the ability to compare files and see all differences, simply it's truthful.

The FC command performs either an ascii or a binary file comparison and will list all of the differences that it finds.

Fc /a File1.txt File2.txt will compare two ascii files.

Fc /b Picture1.jpg Picture2.jpg will do a binary compare on two images.

3. IPCONFIG: IP Configuration

Network troubleshooting is never elementary, but one command that makes it much easier is IPCONFIG.

Using this command in the CMD command prompt returns detailed data about your electric current network adapter connexion including:

  • Current IP Accost
  • Subnet Mask
  • Default Gateway IP
  • Current domain

This data tin can help you lot troubleshoot router problems and other connexion issues y'all could be having with your network adapter.

4. NETSTAT: Network Statistics

Concerned that you could accept malware running on your computer that's connecting to internet locations without you knowing most it?

If yous run a NETSTAT control in the command prompt, you can become a list of all agile TCP connections from your computer.

5. PING: Send Exam Packets

An IT Analyst'southward best friend is the PING command.  Running this command sends test packets over the network to the target organisation.

You can use the PING command to test whether your figurer can access another figurer, a server, or even a website. Information technology tin aid with revealing network disconnections. It too provides transit time for the packets in milliseconds, so it as well reveals a bad network connectedness also.

6. TRACERT: Trace Route

TRACERT is a fascinating Windows Command to use. If you're ever curious to see the path your internet traffic takes to go from your browser to a remote system similar Google servers, you tin apply TRACERT to see it.

The control stands for "Trace Road", which sends packets out to a remote destination (server or website), and provides you with all of the post-obit information:

  • Number of hops (intermediate servers) before getting to the destination
  • Time it takes to get to each hop
  • The IP and sometimes the proper noun of each hop

TRACERT tin can reveal how the routes of your internet requests change depending where yous're accessing the spider web. It also helps with troubleshooting a router or switch on a local network that may be problematic.

7. POWERCFG: Power Configuration

Are you frustrated with how quickly your laptop seems to run out of power? It could exist that your power settings are configured equally efficiently as possible. There's a windows CMD command chosen POWERCFG (power configuration) that tin can help. Run the command prompt as an ambassador and type powercfg – energy to go a full ability efficiency written report.

The procedure can have up to near a infinitesimal, but when information technology's done, you lot'll see whether there are whatsoever warnings or errors that might help you improve the power efficiency of your system.

View the free energy-report.html file to see the details of those errors and warnings.

8. SHUTDOWN: Plow Off Calculator

The SHUTDOWN control is a pretty versatile command that lets you shutdown the reckoner merely command the behavior of that shutdown. It'due south usually used every bit a scheduled task or part of an IT batch chore after patches have been practical to a calculator arrangement.

Typing shutdown /i from the command prompt will initiate a shutdown, but it'll upon a GUI to requite the user an option on whether to restart or practise a total shutdown. If y'all don't desire to have any GUI pop up, you can just issue a shutdown /south control.

There is a long list of other parameters you can use to do a log off, hibernate, restart, and more. But type shutdown without any arguments to see them all.

9. SYSTEMINFO: Organisation Information

If you lot need to know what brand of network card you accept, processor details, or the exact version of your Windows Os, the SYSTEMINFO command can help.

This command polls your arrangement and pulls the most of import information almost your organisation. It lists the information in a make clean format that's piece of cake to read.

10. SFC: System File Checker

If you lot're ever concerned that a virus or some other software might have corrupted your cadre arrangement files, there's a Windows command that tin can scan those files and ensure their integrity.

You need to launch CMD every bit ambassador (right click and choose Run equally Administrator). Typing SFC /SCANNOW volition check the integrity of all protected system files. If a problem is found, the files volition be repaired with backed-up arrangement files.

The SFC command also lets you:

  • /VERIFYONLY: Check the integrity but don't repair the files.
  • /SCANFILE: Scan the integrity of specific files and fix if corrupted.
  • /VERIFYFILE: Verify the integrity of specific files but don't repair them.
  • /OFFBOOTDIR: Use this to practise repairs on an offline kicking directory.
  • /OFFWINDIR: Use this to do repairs on an offline Windows directory.
  • /OFFLOGFILE: Specify a path to salvage a log file with scan results.

The scan tin can take up to 10 or 15 minutes, so requite it fourth dimension.

11. NET Use: Map drives

If you want to map a new bulldoze, y'all could always open File Explorer, correct click on This PC, and go through the Map Network Drive wizard. However, using the NET Use command, you can practise the same matter with 1 control string.

For instance, if you have a share folder on a reckoner on your network chosen \\OTHER-Computer\SHARE\, you can map this as your own Z: drive by typing the command:

Cyberspace utilize Z: "\\OTHER-COMPUTER\SHARE" /persistent:yes

The persistent switch tells your computer that you want this bulldoze remapped every fourth dimension you log back into your computer.

12. CHKDSK: Bank check Disk

While the SFC command only checks the integrity of core system files, yous can use the CHKDSK control to browse an entire drive.

The control to check the C: drive and repair whatsoever issues, launch the control window every bit an administrator and type CHKDSK /f C:.

This command checks for things like:

  • File fragmentation
  • Disk errors
  • Bad sectors

The command can gear up whatsoever disk errors (if possible). When the control is finished, you lot'll meet a status of the scan and what actions were taken.

13. SCHTASKS: Schedule Tasks

Windows comes with a wizard for creating scheduled tasks. For example, peradventure you lot have a BAT file stored on C:\temp that you want to run every day at noon.

Y'all'd have to click through the Scheduled Chore wizard to configure this. Or y'all can type a single SCHTASKS command to ready it upward.

SCHTASKS /Create /SC HOURLY /MO 12 /TR Case /TN c:\temp\File1.bat

The scheduled switch accepts arguments like minute, hourly, daily, and monthly. So y'all specify the frequency with the /MO command.

If you typed the command correctly, yous'll come across the response, SUCCESS: The scheduled task "Example" has successfully been created.

fourteen. ATTRIB: Change File Attributes

In Windows, y'all can change file attributes by right clicking on a file and finding the correct belongings to change. However, instead of hunting around for the file attribute, y'all can utilise the ATTRIB command to set the file attributes.

For example, if y'all type: ATTRIB +R +H C:\temp\File1.bat, information technology'll set File1.bat as a hidden, read-simply file.

In that location is no response when information technology's successful, then unless you see an mistake bulletin, the command worked.

Other Windows CMD Commands

As y'all can meet, there are some powerful and useful things you can practice with the Windows command prompt, if you lot know the right commands.

Believe it or non, there are even more than commands that will give you the ability to do some things you probably never realized just by typing a simple command.

  • BITSADMIN: Initiate upload or download jobs over the network or internet and monitor the current state of those file transfers.
  • Colour: Change the background color of the command prompt window.
  • COMP: Compare the contents of whatsoever two files to come across the differences.
  • Detect/FINDSTR: Search for strings inside of whatsoever ASCII files.
  • PROMPT: Modify the control prompt from C:\> to something else.
  • Championship: Change the championship of the command prompt window.
  • REGEDIT: Edit keys in the Windows registry (use with caution).
  • ROBOCOPY: A powerful file copy utility built right into Windows.

If you lot're interested in learning more, Microsoft offers a total list of all of the Windows CMD commands included in the latest version of the Windows Bone.

Do non share my Personal Information.

thompsonsonning.blogspot.com

Source: https://helpdeskgeek.com/help-desk/21-cmd-commands-all-windows-users-should-know/

Post a Comment for "Cmd Command on Server to Read the Amount of Memory"