Wednesday, September 23, 2026

Helpful Windows IT commands

A short cut to open CMD or POWERSHELL as administrator

A short cut to open a CMD prompt or POWERSHELL prompt as administrator, is to 'search' for either CMD or Powershell and then press CTRL SHIFT ENTER which will open it as administrator


OR as PowerShell



Zero out your harddrive

This will write out zero's to the free space on your Windows 11 box.  This could take a couple of hours but will run in the background.

cipher /w:c




Automatically download and update all my applicable applications on my computer

winget upgrade -all


It will start to do updates of apps on your machine.  Very useful.


Scan for problems on windows 11 and attempt automatic repair of discovered issues.  

sfc /scannow


Another tool to look for possible issues.  This looks for specific windows updates and images and makes sure they are working

dism /online /cleanup-image /restorehealth

Super detailed battery report of your laptop

powercfg /batteryreport


Show all the MAC addresses on your machine

getmac


Show all the apps installed on your computer

wmic product get name


Anyone forget about this one?  Cruise a machine that you have access to on your network
net use \\NameOfComputer\c$

pathping

No comments:

Post a Comment

Feel free to leave a comment! If you have any information that you think should be included, please do so here and I'll get it added in.