-->

Windows Command prompt tricks command

1 minute read

 Windows Command prompt crazy command 



wmic means :- Windows Management Instrumentation Command line


1. Check your battery level

cmd:- wmic win32_battery get estimatedchargeremaining

2.Cpu usage 

cmd:-  wmic cpu get caption, deviceid, name, numberofcores, maxclockspeed, status

3.clip 

example :-  ipconfig | clip

copy of the command 

clip is copy the text 

4.list of software install on your computer 

cmd:- wmic product get name 

5.change color in cmd

cmd:- color 

6.Clean disk 

cmd:- cleanmgr

7.clear cache memory in windows

cmd:- ipconfig/flushDNS

8. Defragment your hard disk with command prompt

cmd:- defrag c:

9.disk partition 

cmd:- diskpart

10. Start and stop windows  update (Open windows powershell)

cmd:- get-service (list of all service displayed)

cmd:- tasklist (list of the task running on your computer )

To view image name , PID means = process identification , session name, session #, mem usage means= memory usage


your kill the task ;- taskkill /P:D 4424 /F

cmd:- get-service wuauserv | format-list

cmd:- stop - wuauserv (Stopped the service)

           start - wuauserv (Started the service )