We earn commission when you buy through affiliate links.
This does not influence our reviews or recommendations.Learn more.
WindowsCommand Promptcan perform many unique tasks that usually cant be done by other Windows components.
Lets see some Windows command prompt commands that will help you as a system admin.
This command will show all the web link configuration values in one place.
Microsoft also has a handy guide on the ipconfig/all command on its website.
you’ve got the option to check it out here.
This command can show each host the packets routes through while reaching a specific host.
It also shows basic information about hardware, including processor, RAM, and disk space.
Powercfg
Thepowercfgcommand is used to manage the power options of Windows.
Once found, the command will automatically replace the file with a new one from the cache.
However, you gotta use the right parameter to fix the errors.
For most users, the commandchkdsk/rshould be enough to find and fix file system errors and bad sectors automatically.
However,tasklistcommand is more useful for seeing processes of another PC remotely.
However, keep in mind that it doesnt show memory usage in real-time, unlike the task manager.
Using without parameters, it will show the MAC address of the current rig.
The commandshutdown/swill shut down the current PC after a delay.
Definitely, a must-know command to quickly shut down multiple PCs you are managing.
Assoc
you could use this command to view and manage file associations of a PC.
Theassoccommand will list all the file extensions along with the programs associated with them.
you might also use parameters to change file associations on the PCs remotely.
Robocopy
Its similar to the copy/paste feature of Windows, but its extremely customizable using parameters.
you could add parameters like/nocopyto remove associated information or/sto exclude empty subdirectories.
you gotta provide the volume label, and the command will delete all the data on that volume.
Just jot down hostname, and the command prompt will immediately tell you the hostname of the PC.