40 Windows Commands you NEED to know (in 10 Minutes)

preview_player
Показать описание


Here are the top 40 Windows Command Prompt commands you need to know!! From using ipconfig to check your IP Address to using the shutdown command to automatically boot to bios, these commands are essential for any Windows user. Also, is your computer running slow? We show a series of commands that will speed up your computer without having to reinstall Windows. All of these commands should work on Windows 10 and Windows 11 and all you need to do is launch your windows command prompt (cmd).

**Sponsored by Bitdefender

SUPPORT NETWORKCHUCK
---------------------------------------------------

READY TO LEARN??
---------------------------------------------------

0:00 ⏩ Intro
0:15 ⏩ Launch Windows Command Prompt
0:18 ⏩ ipconfig
0:25 ⏩ ipconfig /all
0:33 ⏩ findstr
0:49 ⏩ ipconfig /release
0:56 ⏩ ipconfig /renew
1:15 ⏩ ipconfig /displaydns
0:56 ⏩ ipconfig /renew
1:29 ⏩ clip
1:47 ⏩ ipconfig /flushdns
2:09 ⏩ nslookup
2:41 ⏩ cls
2:51 ⏩ getmac /v
3:01 ⏩ powercfg /energy
3:10 ⏩ powercfg /batteryreport
3:28 ⏩ assoc
3:51 ⏩ Is your computer slow???
3:56 ⏩ chkdsk /f
4:07 ⏩ chkdsk /r
4:17 ⏩ sfc /scannnow
4:36 ⏩ DISM /Online /Cleanup /CheckHealth
4:45 ⏩ DISM /Online /Cleanup /ScanHealth
4:51 ⏩ DISM /Online /Cleanup /RestoreHealth
5:24 ⏩ tasklist
5:38 ⏩ taskkill
5:59 ⏩ netsh wlan show wlanreport
6:18 ⏩ netsh interface show interface
6:27 ⏩ netsh interface ip show address | findstr “IP Address”
6:30 ⏩ netsh interface ip show dnsservers
6:36 ⏩ netsh advfirewall set allprofiles state off
6:43 ⏩ netsh advfirewall set allprofiles state on
6:49 ⏩ SPONSOR - BitDefender
8:19 ⏩ ping
8:30 ⏩ ping -t
8:41 ⏩ tracert
8:59 ⏩ tracert -d
9:06 ⏩ netstat
9:12 ⏩ netstat -af
9:28 ⏩ netstat -o
9:38 ⏩ netstat -e -t 5
9:47 ⏩ route print
9:58 ⏩ route add
10:13 ⏩ route delete
10:21 ⏩ shutdown /r /fw /f /t 0

FOLLOW ME EVERYWHERE
---------------------------------------------------

AFFILIATES & REFERRALS
---------------------------------------------------
(GEAR I USE...STUFF I RECOMMEND)

#windows11 #commandprompt #cmd
Рекомендации по теме
Комментарии
Автор



0:00 ⏩ Intro
0:15 ⏩ Launch Windows Command Prompt
0:18 ⏩ ipconfig
0:25 ⏩ ipconfig /all
0:33 ⏩ findstr
0:49 ⏩ ipconfig /release
0:56 ⏩ ipconfig /renew
1:15 ⏩ ipconfig /displaydns
0:56 ⏩ ipconfig /renew
1:29 ⏩ clip
1:47 ⏩ ipconfig /flushdns
2:09 ⏩ nslookup
2:41 ⏩ cls
2:51 ⏩ getmac /v
3:01 ⏩ powercfg /energy
3:10 ⏩ powercfg /batteryreport
3:28 ⏩ assoc
3:51 ⏩ Is your computer slow???
3:56 ⏩ chkdsk /f
4:07 ⏩ chkdsk /r
4:17 ⏩ sfc /scannnow
4:36 ⏩ DISM /Online /Cleanup /CheckHealth
4:45 ⏩ DISM /Online /Cleanup /ScanHealth
4:51 ⏩ DISM /Online /Cleanup /RestoreHealth
5:24 ⏩ tasklist
5:38 ⏩ taskkill
5:59 ⏩ netsh wlan show wlanreport
6:18 ⏩ netsh interface show interface
6:27 ⏩ netsh interface ip show address | findstr “IP Address”
6:30 ⏩ netsh interface ip show dnsservers
6:36 ⏩ netsh advfirewall set allprofiles state off
6:43 ⏩ netsh advfirewall set allprofiles state on
6:49 ⏩ SPONSOR - BitDefender
8:19 ⏩ ping
8:30 ⏩ ping -t
8:41 ⏩ tracert
8:59 ⏩ tracert -d
9:06 ⏩ netstat
9:12 ⏩ netstat -af
9:28 ⏩ netstat -o
9:38 ⏩ netstat -e -t 5
9:47 ⏩ route print
9:58 ⏩ route add
10:13 ⏩ route delete
10:21 ⏩ shutdown /r /fw /f /t 0

NetworkChuck
Автор

pro tip - don't do ipconfig /release if you are remotely managing a machine. you'll disconnect yourself. Instead do "ipconfig /release && ipconfig /renew " so it will grab the new ip and you can get back into the machine!

zmk
Автор

Here are the equivalent PowerShell Cmdlets of the CMD Commands showed in this video.
1. ipconfig - Get-NetIPAddress
2. ipconfig /all - Get-NetIPConfiguration (only shows DNS-Server and Gateway)
3. findstr - Select-String
4. ipconfig /release - Invoke-WmiMethod -Class -Name ReleaseDHCPLeaseAll
5. ipconig /renew - Invoke-WmiMethod -Class -Name RenewDHCPLeaseAll
6. ipconfig /displaydns - Get-DnsClientCache (you may use '| Format-List' to get all colums)
7. clip - Set-Clipboard
8. ipconfig /flushdns - Clear-DnsClientCache
9. nslookup - Resolve-DnsName
10. cls - Clear-Host (or just Ctrl+L)
11. getmac /v - Get-NetAdapter
12. powercfg - no equivalent afaik
13. assoc - no equivalent afaik (also assoc does not seem to exist on my Windows 11 21H2 VM)
14. chkdsk - Repair-Volume
15. sfc - no equivalent afaik
16. DISM - no equivalent afaik
17. tasklist - Get-Process
18. taskkill - Stop-Process
19. netsh - no equivalent afaik but you can manipulate the Windows firewall, just search with Get-Command *firewall*
20. ping - Test-NetConnection
21. ping /t - Test-Connection -Count (Test-Connection gives you much more data, while Test-NetConnection just shows the IP and Latency to the target)
22. tracert - Test-NetConnection -TraceRoute
23. netstat - Get-NetTCPConnection
24. route print - Get-NetRoute
25. route add - New-NetRoute
26. route delete - Remove-NetRoute
27. shutdown - Stop-Computer
28. restart - Restart-Computer

EDIT: Here are some goodies I just found:
Expand-Archive - Extract file from a zip Archive
Compress-Archive - Create a zip Archive

2023-06-16 EDIT 2: Added DHCP release/renew

That is the list of PowerShell Cmdlets, that I could find.
Also a nice addition, if you wanna see all options for a command just type e.g. Get-Process -[Ctrl + Space] to get a list of all available options. This works everywhere, like Tab to autocomplete.
Have a nice day. 😃

papakeks
Автор

As a retired PC tech this video is a throwback reminder to days when these commands were all you had ! It's refreshing to see them being "rediscovered" they've always been there, ever since the days of DOS and come in real handy when Windows and your network take a dump, there are even a lot more commands than these I would like to see an expanded video of those.

JazAero
Автор

Anyone can tell us these commands, but not many can do it in a way that's fun and entertaining! You got my sub! Thank you.

BulletNG
Автор

I've been using command line for years, but only the commands I thought I needed. Your presentation was intense! I learned a lot of new stuff and will try it out. (Thank you to all the commenters who added a few other tips!)

jimzielinski
Автор

As a systems engineer, I always thought Linux is the new gold rush in OS (And NetworkChuck encourages us to learn it anyway) but at the end of the day normal users will choose windows anyway... So, we still need to master windows along Linux

nerdy-zeig
Автор

For anyone wondering about that shutdown command, the flags are as follows:

/r - restart (pretty self explanatory)
/fw - firmware - boots to user firmware, this is what brings us to BIOS
/f - force - forces shutdown of applications (doesn't asked), can result in loss of unsaved data
/t <number> - time-out - specifies timeout before shutdown in seconds, defaults to 30

okamimoushiyou
Автор

One set of shutdown command parameters I use when I need to reboot a machine is 'shutdown /r /t 0'... As you mentioned, /r will reboot the machine, and /t with the value 0 will do it immediately - it otherwise puts up a dialog with a timer (60 seconds, IIRC) before it commences the shutdown. The /m switch has also saved me a few times when I have lost access to a machine with no remote power management set up... You can issue this command remotely to another machine (as long as WinRM is accepting remote requests) by adding /m \\<machinename> to the parameter list.

This was a great rundown of commands - some of which that I have used in the past at one time or another in my previous job - thanks for sharing, Chuck!

jcchaconjr
Автор

I love and admire Chucks energy and passion in the work he puts in, and yes i found this very helpful! Thank you very much, and hope to see more of these Windows/Linux CMD series 😁🔥👏

AustroPower
Автор

This is amazing, no fluff, no gimmicks, no day in the life, just straight knowledge and value

jr-pcdo
Автор

I'm impressed by You:
1. Straight to the point
2. Force and energy, all of your videos have a direct
This is greatly appreciated, Thanks!!!
Merci beacoup!!!

nyatibros
Автор

Chuck, I want to thank you in public, I followed up your advise about studying AWS Cloud Practitioner, I got certified on August 5th, your advise about creating a website, I did, your advise about re-formatting your resume, I followed suit. Today... I got my first job as a Cloud Engineer, I have no degree whatsoever and did not have a job experience, only labs, thank you Chuck. Your channel definitely changed my life. Thank you

hedaros
Автор

Always love a Network Chuck tutorial, straight to the point and easy to follow.

organicmechanic
Автор

A lot of the commands I already knew but the additional qualifiers to those commands are so powerful. Thanks for the tips.

NoxiousGhoulv
Автор

Love the presentation style, great video!

comraede
Автор

Thank you so much Chuck. I've learned so much with your videos, in fact, I took your advice and I'm about to start with CCNA. Keep up the great work.

fixer
Автор

Could have used this when I was studying for the A+! Good stuff

joshyapplecider
Автор

Thank you man, some of these commands didn't know before, it's was good to catch up such a video

Asim-Mias
Автор

This is the coolest 10 minute video I've seen in months and months. Awesome. Send to my tech team to review too.

networkn
visit shbcf.ru