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

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 พ.ค. 2024
  • Keep your computer safe with BitDefender: bit.ly/BitdefenderNC (59% discount on a 1 year subscription)
    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).
    🔥🔥Join NetworkChuck Academy: ntck.co/NCAcademy
    **Sponsored by Bitdefender
    SUPPORT NETWORKCHUCK
    ---------------------------------------------------
    ➡️NetworkChuck membership: ntck.co/Premium
    ☕☕ COFFEE and MERCH: ntck.co/coffee
    Check out my new channel: ntck.co/ncclips
    🆘🆘NEED HELP?? Join the Discord Server: / discord
    STUDY WITH ME on Twitch: bit.ly/nc_twitch
    READY TO LEARN??
    ---------------------------------------------------
    -Learn Python: bit.ly/3rzZjzz
    -Get your CCNA: bit.ly/nc-ccna
    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
    ---------------------------------------------------
    Instagram: / networkchuck
    Twitter: / networkchuck
    Facebook: / networkchuck
    Join the Discord server: bit.ly/nc-discord
    AFFILIATES & REFERRALS
    ---------------------------------------------------
    (GEAR I USE...STUFF I RECOMMEND)
    My network gear: geni.us/L6wyIUj
    Amazon Affiliate Store: www.amazon.com/shop/networkchuck
    Buy a Raspberry Pi: geni.us/aBeqAL
    Do you want to know how I draw on the screen?? Go to ntck.co/EpicPen and use code NetworkChuck to get 20% off!!
    #windows11 #commandprompt #cmd
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 2.5K

  • @NetworkChuck
    @NetworkChuck  ปีที่แล้ว +259

    Keep your computer safe with BitDefender: bit.ly/BitdefenderNC (59% discount on a 1 year subscription)
    🔥🔥Join Hackwell Academy: ntck.co/NCAcademy
    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

    • @firojpaudel
      @firojpaudel ปีที่แล้ว +5

      Could you make some for linux too ? (ubuntu)

    • @twisted8ight
      @twisted8ight ปีที่แล้ว

      Damn, I just re-upped my sub.

    • @Bozemanjustin
      @Bozemanjustin ปีที่แล้ว +2

      I think more people would understand your videos if you spoke English.
      I don't know why you're speaking Swahili, I'm only picking up some of the words as English words that I know LOL
      You're bringing me back to my doss 5.0 days with command lines but there was no networks back then so all the internet stuff is new to me

    • @s.mtapadar2834
      @s.mtapadar2834 ปีที่แล้ว

      Hi,
      I am have been watching you las few months related blockchain and programming languages. I saw you always use V.S code for coding, I have mobile of 6GB ram, can I connect it Vs code to my moblie, I cant pracitice your videos tuturials. please can you provide me right way to connect vs code to firebase, redux, next js and react etc...

    • @thescientificboy4602
      @thescientificboy4602 ปีที่แล้ว

      I have a question in the ipconfig/renew is it actually bad if i delete all interface on my computer

  • @zmk55
    @zmk55 ปีที่แล้ว +2372

    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!

    • @scottspa74
      @scottspa74 ปีที่แล้ว +95

      This should be pinned. Great point.

    • @heuristix77
      @heuristix77 ปีที่แล้ว +55

      I always create a .bat file:
      @ECHO off
      ipconfig /release
      ipconfig /renew
      Run as Administrator
      Delete the file after the connection comes back.

    • @joemedlen2924
      @joemedlen2924 ปีที่แล้ว +6

      I made that mistake when remote so good point, never thought of that. I always used a batch script.

    • @dionnix
      @dionnix ปีที่แล้ว +11

      @@heuristix77 or you could delete it in the code using del %filename%

    • @hero17_
      @hero17_ ปีที่แล้ว +1

      Respect 👍

  • @papakeks
    @papakeks ปีที่แล้ว +594

    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 Win32_NetworkAdapterConfiguration -Name ReleaseDHCPLeaseAll
    5. ipconig /renew - Invoke-WmiMethod -Class Win32_NetworkAdapterConfiguration -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 100000 (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. 😃

    • @mattcargile
      @mattcargile ปีที่แล้ว +12

      Good stuff! I was offended he didn’t show Powershell.

    • @eduardojavier112
      @eduardojavier112 ปีที่แล้ว +4

      ipconfig - Get-NetIPAddress = does not work on windows 11

    • @Mahmoud1987Hamada
      @Mahmoud1987Hamada ปีที่แล้ว +7

      What's the difference between cmd and power shell?

    • @davesabra4320
      @davesabra4320 ปีที่แล้ว +4

      I bought you a coffee in my heart.

    • @beauwilliams2312
      @beauwilliams2312 ปีที่แล้ว +4

      For a long time i have resisted powershell but I can no longer deny its great power.

  • @Piano_Castle
    @Piano_Castle ปีที่แล้ว +434

    FINALLY! A TH-cam content provider that gets right to the point; and relays solid, needed information with focus and energy! SO many content publishers draw what could be said in 3 minutes into a painful saga that extends 25 minutes. Chuck gets right to the critical data and this is incredibly rare, and appreciated! Thank you!!!

    • @mnabad5704
      @mnabad5704 ปีที่แล้ว +5

      💀💀

    • @Oceanbaymae9
      @Oceanbaymae9 ปีที่แล้ว +6

      Yes but he had too much coffee for this content and he was sprinting. I had to slow the speed a bit to grasp each command. Sorry Chuck… love you 😘.

    • @soup8249
      @soup8249 ปีที่แล้ว +4

      chuck is hella wired from all the coffee. hes not wasting time

    • @szabolcsmate5254
      @szabolcsmate5254 ปีที่แล้ว +1

      Well said!

    • @cool-aquarian
      @cool-aquarian ปีที่แล้ว

      You mean like this:
      th-cam.com/video/0oHoXlnv-RE/w-d-xo.html

  • @BulletNG
    @BulletNG ปีที่แล้ว +211

    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.

  • @nerdy-zeig7774
    @nerdy-zeig7774 ปีที่แล้ว +726

    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

    • @JC-Alan
      @JC-Alan ปีที่แล้ว +55

      It depends on your field, as well. Networking guys obviously spend a lot more time with Linux and VM platforms, but help desk/managed services are almost entirely Windows. Client environments are so reliant on O365 nowadays; Windows isn't going anywhere.

    • @liquidluck711
      @liquidluck711 ปีที่แล้ว

      @@JC-Alan just wait for the clear, orgo-, holo- tech which will replace almost all black mirror devices. People will he much more free and Linux will be the go to OS. The days of Blue Light damages and chemical addictions to these radiation devices will come to an apocalyptic end. Solar flares and the Greater Reset :) enjoy! Better get some books on off grid living, fair and loving warning!!

    • @imt3206
      @imt3206 ปีที่แล้ว +9

      @@JC-Alan sadly. What the hell happened?

    • @JC-Alan
      @JC-Alan ปีที่แล้ว +36

      @@imt3206 the unstoppable monolith that is Microsoft.

    • @Zeth99seb
      @Zeth99seb ปีที่แล้ว +23

      @The Untraveled Path but then it would not be Linux.

  • @hedaros17
    @hedaros17 ปีที่แล้ว +41

    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

  • @okamimoushiyou
    @okamimoushiyou ปีที่แล้ว +25

    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 - time-out - specifies timeout before shutdown in seconds, defaults to 30

    • @masterofthemisc5521
      @masterofthemisc5521 ปีที่แล้ว +6

      Huge, huge thank you. I commented about how I'm totally blind and the one command I was really interested in, was the one he didn't actually vocalize the syntax for. Then I found this comment and got the information. Seriously appreciated!

    • @RagenCon
      @RagenCon 22 วันที่ผ่านมา +1

  • @JazAero
    @JazAero ปีที่แล้ว +131

    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.

    • @hashtagtnt
      @hashtagtnt ปีที่แล้ว +1

      Anyone wanting to do Windows troubleshooting, should definitely know some basic commands and also must know some powershell commands as well. Plus with google these days you can find almost anything (except the next possible lottery number to pick and choose).

    • @1Patient
      @1Patient ปีที่แล้ว +5

      I'm not retired and that's all I thought of this video when I started watching, I'm like, this is DOS, and even #40 "shutdown" 😃

    • @Awesomeguy7435YT
      @Awesomeguy7435YT 6 หลายเดือนก่อน

      Bro gave his ip

    • @hi_its_me1337
      @hi_its_me1337 3 หลายเดือนก่อน

      ​@@Awesomeguy7435YThe's using VPN

  • @jimzielinski946
    @jimzielinski946 ปีที่แล้ว +203

    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!)

    • @Andrewww23
      @Andrewww23 ปีที่แล้ว +6

      How's the war going Mrs. President?

  • @jr-pc4do
    @jr-pc4do ปีที่แล้ว +173

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

  • @NoxiousGhoulv2
    @NoxiousGhoulv2 6 หลายเดือนก่อน +2

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

  • @joshyapplecider
    @joshyapplecider ปีที่แล้ว +24

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

  • @AustroPower
    @AustroPower ปีที่แล้ว +51

    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 😁🔥👏

  • @organicmechanic5150
    @organicmechanic5150 ปีที่แล้ว +44

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

  • @kaeez
    @kaeez ปีที่แล้ว +16

    Thanks Chuck! This was pretty useful.

  • @Asim-Mias
    @Asim-Mias 9 หลายเดือนก่อน +3

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

  • @fixer1140
    @fixer1140 ปีที่แล้ว +9

    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.

  • @aba-nascu
    @aba-nascu ปีที่แล้ว +13

    OMG...working in IT for few years and still learn something from this video. Nice work!

    • @-mrws-
      @-mrws- ปีที่แล้ว

      "years" !=== "experience"

  • @jcchaconjr
    @jcchaconjr ปีที่แล้ว +7

    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 \\ 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!

    • @BulletNG
      @BulletNG ปีที่แล้ว +2

      I've used the timer command so many times. For example, if I don't want to wait around for a computer to finish a scan or an update, I pop in the timer for when it's estimated to finish.

  • @nyatibros2172
    @nyatibros2172 7 หลายเดือนก่อน +6

    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!!!

  • @stobbyenduromx9692
    @stobbyenduromx9692 ปีที่แล้ว +7

    For the shutdown command you can also use the /o switch to go straight to the Advanced options boot where you can boot into safe mode etc.

  • @SerRipsen
    @SerRipsen ปีที่แล้ว +38

    For Shutdown don't use "/t 0" as the command will wait for apps to close and if any app has those "save your work" dialog boxes then it will cancel the reboot. Instead use "/t 1" and it will bypass those prompts. Very useful when you have 400 apps open and cba to close them manually.

    • @RasmusFMS
      @RasmusFMS ปีที่แล้ว +3

      Alternatively, use "/f", and it will force the shutdown with no delay

    • @someguy4915
      @someguy4915 ปีที่แล้ว +2

      When using /t higher than 0, the /f (Force shutdown/reboot) is implied in Windows, so either '/s /f /t 0' or '/s /t 1' does the same besides the slightly longer wait.

  • @networkn
    @networkn ปีที่แล้ว +1

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

  • @simonsezblah
    @simonsezblah ปีที่แล้ว

    This was my first NetworkChuck video experience. Very useful. You are Awesome!

  • @109968shadowboy
    @109968shadowboy ปีที่แล้ว +3

    Hey NetworkChuck, you're by far the best teacher to break down these concepts. Would love to see if you could breakdown the waterfall method and software life cycles.

  • @Shadow-bs1iu
    @Shadow-bs1iu ปีที่แล้ว +6

    Excellent format this. Quick 10minute snippet of a goldmine of information. Admittedly about 25% of the commands I already know, but this video is a great format and can be dropped into my working day with a brew and it not be so time consuming that I stop it and then get distracted when firing up youtube later on and look at something else. Keep up the excellent work Chuck. Your enthusiasm and work ethic is very admirable

  • @comraede
    @comraede 23 วันที่ผ่านมา +2

    Love the presentation style, great video!

  • @chriscanadahello
    @chriscanadahello หลายเดือนก่อน

    lol, you make it look so easy brother, i'm following you and i remember using floppy disks but cmd commands you share are so cool, i had no idea until you showed me, ty

  • @phyloyd1
    @phyloyd1 ปีที่แล้ว +4

    Thank you! I even learned a few things. I have been working as an SCCM administrator and I use command prompt to fix computers that no longer speak to the console. psexec and command line are the quickest way especially trying to fix systems on slower connections. Keep up the awesomeness!

  • @BakerTechnologyServices
    @BakerTechnologyServices ปีที่แล้ว +6

    Liked and subscribed! Great video with a nice assortment of commands. Definitely reminded me of some commands to use more often, and learned a few new things. My favorite in this video is "shutdown /r /t 0 /fw" - use it all the time.

  • @onethis144
    @onethis144 ปีที่แล้ว

    Bro solid vid with exact 10 mins even including sponsor and everything. Really cool!

  • @ZapRodil461
    @ZapRodil461 8 หลายเดือนก่อน

    Your videos are so fun to watch man! You really make the learning process fun!

  • @AlexSanchez-qy9jd
    @AlexSanchez-qy9jd ปีที่แล้ว +4

    Dude, this is seriously awesome! Its these little things like useful everyday commands that make a world of difference. Thats why I love your channel and content!

  • @juleast
    @juleast ปีที่แล้ว +6

    I've been exploring windows since I was grade 6 so I actually knew about 80% of all these commands. But I never knew the shutdown command can reboot into BIOS so that was cool. I always just use it for restarting quickly. Great video 👍

  • @MrTutiplengo
    @MrTutiplengo ปีที่แล้ว

    I know some of these from the DOS days. I like the energy he brings into the video, like a kid excited with a new toy. Awesome content.

  • @420birdman
    @420birdman 11 หลายเดือนก่อน

    Thank you for all your contributions on TH-cam. I love the way you show and explain what you're doing on your TH-cam. Thank you

  • @_faz_.
    @_faz_. ปีที่แล้ว +3

    Love your videos perfect, easy and simple to follow. Thank you Sir!

  • @ReadTheShrill
    @ReadTheShrill ปีที่แล้ว +12

    Been programming professionally and doing network support and IT for 30+ years, and still there are some commands on this list I didn't know about. Nicely done.

  • @GeekyMino
    @GeekyMino ปีที่แล้ว

    Awesome production quality and great delivery!

  • @gracienlebel4824
    @gracienlebel4824 ปีที่แล้ว

    Another kickass tutorial from NetworkChuck! Thanks!

  • @privateinfo4820
    @privateinfo4820 ปีที่แล้ว +70

    After 30 some years doing this stuff I was saddened you didn't mention the up arrow (or down arrow.. ) to scroll through previous commands you've entered! Very simple and very handy way to navigate cmd prompt work.. also use the left right arrow keys within a cmd line to edit, insert, etc.. keys before hitting Enter.. Love the video :) Show them some EDLIN stuff now..

    • @MegaTerryWogan
      @MegaTerryWogan ปีที่แล้ว +4

      👍👍🤣 We're such geeks 😉😉

    • @ankthares6474
      @ankthares6474 ปีที่แล้ว

      my guess is that up and down arrows are not exclusively to windows

    • @PetrCharousek
      @PetrCharousek ปีที่แล้ว +8

      And what else, pressing F7 in the Command Prompt lists previously entered commands. Very helpful sometimes for me 😉👍

    • @nitronixasd
      @nitronixasd ปีที่แล้ว +2

      Doskey is something I miss, used to be some cool things with that command

    • @romelalvarado
      @romelalvarado ปีที่แล้ว +3

      @@PetrCharousek And do not forget that if press ALT+F7 clear the list of | cached commands... well, that is not related to useful commands, but useful "features"... Ahhhh, do not also forget use the TAB key: Auto-complete | rotate list of items in a folder, so you don't have to write the whole filename | folder name; even it will put the (") if the filename | folder name | path contains spaces in them!

  • @johnwick679
    @johnwick679 ปีที่แล้ว +11

    I love how you explain things all other people who make tutorials never get to the point you however get right to it, so big thank you

  • @Mainbusfail
    @Mainbusfail 6 หลายเดือนก่อน

    I can never learn enough. That is why I am a huge fan of your content. Thanks NetworkChuck!!!

  • @muffledd
    @muffledd 4 หลายเดือนก่อน

    I had no idea the command prompt was this useful, thank you so much for this video!

  • @andrewalonsi
    @andrewalonsi ปีที่แล้ว +41

    I'm studying for my A+ how did you know I needed this!?

    • @I_Lemaire
      @I_Lemaire ปีที่แล้ว +1

      1002 catch-up crew?

    • @samuelrodriguez2749
      @samuelrodriguez2749 ปีที่แล้ว +4

      Passed my 1101 now I'm studying for 1102

    • @dolbrechts1980
      @dolbrechts1980 ปีที่แล้ว +3

      Chuck knows and sees all 🤣

    • @jaylewisadams
      @jaylewisadams ปีที่แล้ว +1

      network chuck is awesome, on the A+ you don't have to know switches however, just the actual ports, don't over think it and good luck!!!

    • @korosensei3791
      @korosensei3791 ปีที่แล้ว

      what sources do u use to study A+ ?

  • @mirre2590
    @mirre2590 ปีที่แล้ว +4

    Great video! Commands 17-20 (SFC scannow, DISM) are go-to commands when having issues with
    Windows, just what Microsoft tech support will go through.

  • @embazle
    @embazle ปีที่แล้ว

    Man... you've come such an incredibly long way with your knowledge, video presentations styles and skills (amazing), and your channel. Long Live @NetworkChuck!

  • @scottpelletier1370
    @scottpelletier1370 ปีที่แล้ว

    Subscribed!
    I like pressing tab to auto fill info you started to type. I wish there were a way to complete commands too but I guess some things you just have to memorize.

  • @kevinwelsh8438
    @kevinwelsh8438 ปีที่แล้ว +3

    Love the content Chuck! How about some Must-know commands for Mac and Linux terminals?

  • @vencemarron
    @vencemarron ปีที่แล้ว +3

    I love it! Maybe next Windows video going through PowerShell? Differences and use cases with cmd? Using pwsh in Linux maybe too?

  • @carpediem327
    @carpediem327 6 หลายเดือนก่อน

    @NetworkChuck I just got to thank you man. I have learned so much from you. Thanks.

  • @TrevorMatthews
    @TrevorMatthews ปีที่แล้ว

    I've used the command line since DOS days and I still learned some stuff here. Thanks!!

  • @kaieden
    @kaieden ปีที่แล้ว +5

    A great alternative to Command 0 at the start is
    Windows Key + R ; type "cmd"; press ctrl + shift + enter.
    This way you can run command prompt as an administrator without using any menus!

    • @thepikachugamer
      @thepikachugamer ปีที่แล้ว

      Now, i haven't used Windows in a while, but I swear the CTRL+Shift+Enter didn't work with run. Time to check again

  • @chadwicktyrone8894
    @chadwicktyrone8894 ปีที่แล้ว +9

    I swear you are a gem on this TH-cam space! I’ve learned so much from you and my IT confidence is going through the roof because of your videos 👍🏿

  • @alexisaubry3801
    @alexisaubry3801 ปีที่แล้ว +1

    That was a great one, Chuck :)

  • @ksnative785
    @ksnative785 11 หลายเดือนก่อน

    Thanks for these GREAT 10 commands! Super helpful!

  • @vidx9
    @vidx9 ปีที่แล้ว +7

    I've been using windows for decades since DOS and some of the commands are new to me. Thanks Chuck!

    • @robegatt
      @robegatt 2 หลายเดือนก่อน

      because they ARE new 😅

  • @Aethid
    @Aethid ปีที่แล้ว +6

    The Windows CLI is powershell, not cmd. Cmd is only really still around for legacy support reasons.

  • @pcgalvintoybonnie2827
    @pcgalvintoybonnie2827 ปีที่แล้ว

    MAAANNN i loved this video!!! lotta cool commands i didn't even know about ESPECIALLY THE LAST ONE!

  • @MrDerekLRobinson
    @MrDerekLRobinson 27 วันที่ผ่านมา

    Awesome content, Sir! 👍🏻👍🏻

  • @jiorugu
    @jiorugu ปีที่แล้ว +3

    These are very helpful! In a professional Environment i can recommend "wmic bios get serialnumber" if you have a lot of pc's and need want the serial numbers. Also "wmic diskdrive get status" for getting the Smart Value of your hard drive.

  • @OREISONBLUE
    @OREISONBLUE ปีที่แล้ว +3

    I learnt a lot from this guy! Thank you

  • @JacobNozicka
    @JacobNozicka 4 หลายเดือนก่อน

    Man, this video still holds so much value. Thank you.

  • @CyberHak
    @CyberHak ปีที่แล้ว

    You're flowing bro. Smashed this video. Well done.

  • @mattknibb5001
    @mattknibb5001 ปีที่แล้ว +5

    When I needed him most, he delivered. I've been getting more into command prompt and starting my scripting journey and this game me a lot of cool ideas to play with. Thanks Chuck!

  • @odethebear
    @odethebear ปีที่แล้ว +3

    Well put together and very helpful. I have a Linux command window opened automatically (wsl) when starting up my computer because of the cool shell commands in Linux. But now I will have a look at these command listed in this video, many of which I either haven't heard of or didn't know the cool options you can use them with. Many thanks bearded guy!

    • @joshuawilson4180
      @joshuawilson4180 ปีที่แล้ว

      They're windows only, PowerShell not Linux, Kali etc

  • @naz0079
    @naz0079 ปีที่แล้ว

    useful video, especially the last command to enter bios!

  • @majesticviews5397
    @majesticviews5397 ปีที่แล้ว

    Always find myself back to this video for some reason when studying lol Thanks CHUCK!!

  • @_void_
    @_void_ ปีที่แล้ว +3

    I want to share with you some commands i often use.
    "explorer ." - open current path in explorer (dot stands for current path, two dots - for parent dir path, you can use it in any command where path is needed like "cd .." or "cd ../folder/subfolder" )
    "notepad file.txt" - open file in notepad(it creates new one if it doesn't exist)
    ls - print all files and folders in current dictionary
    P.S. "clip" was a discovery for me. I find it to be a very useful

  • @bossK78
    @bossK78 ปีที่แล้ว +4

    As systems engineer myself, these are excellent commands to learn. I'm still learning 15 yrs later.

  • @brendamg7298
    @brendamg7298 ปีที่แล้ว

    Thanks Chuck! This was very useful.

  • @IdRadical
    @IdRadical 8 หลายเดือนก่อน

    I know some things but I was sleeping on these commands! Quality video btw! Thank you!!

  • @offthedribblemedia8426
    @offthedribblemedia8426 ปีที่แล้ว +18

    This is awesome Chuck!! You have helped me so much through out my early IT journey. Studying to take my CompTIA A+. Hope to work my way up to CCNA soon!

    • @ellwales7057
      @ellwales7057 ปีที่แล้ว

      I’m studying for my comptia A+ too, any advice?

    • @janfranko4569
      @janfranko4569 ปีที่แล้ว +3

      ​@@ellwales7057 never go to look at pingpong show in thailand.

    • @maor404
      @maor404 ปีที่แล้ว

      @@janfranko4569 lol

  • @_-_ttt_-_
    @_-_ttt_-_ ปีที่แล้ว +4

    Honestly did not know about shotdown straight to the BIOS. Lovely ♥️

    • @EvganyVorona
      @EvganyVorona ปีที่แล้ว +2

      Same, how am I finding about this just right now?

  • @anshu958
    @anshu958 ปีที่แล้ว

    one of the most informative video my IT career ,Thanks a lot .

  • @rolfbackstrom6029
    @rolfbackstrom6029 11 หลายเดือนก่อน

    Excellent presentation! I learned a few things I did not from before. Thank you very much.

  • @joeylee7740
    @joeylee7740 ปีที่แล้ว +10

    This is super useful and powerful! Thanks Chuck! You’re awesome! :)

  • @xheralt
    @xheralt ปีที่แล้ว +4

    I always create a desktop link to "shutdown /s /t 0" ... been doing it since Win9x, but in Win10+ it has real utility. In addition to being a single double-click action instead of mousing around popup Start menu and several clicks, it forces a complete shutdown, as opposed to the quick-restart "hybrid" sleep-mode shutdown that is the default now.

  • @machdaddy6451
    @machdaddy6451 2 หลายเดือนก่อน

    One of my very favorite shortcuts. I also like shutdown /r /t 0 for restart.

  • @shefw.armando
    @shefw.armando 7 หลายเดือนก่อน

    this actually helped so much thank you

  • @KeithBarker
    @KeithBarker ปีที่แล้ว +9

    Amazing video and content. Thank you! 💪🏽

    • @NetworkChuck
      @NetworkChuck  ปีที่แล้ว +3

      Thanks Keith! Good to hear from you!

    • @nigelphillips7454
      @nigelphillips7454 5 หลายเดือนก่อน

      @@NetworkChuck hi if i do reset this pc will i be able to reset registry editor to default with keep my files options or is there a better cmd command please reply me asap would measn alot to me and could put it here please thanks

  • @Arindam_Deka
    @Arindam_Deka 5 หลายเดือนก่อน +1

    Really thankful for this video.❤

  • @kevincage1641
    @kevincage1641 ปีที่แล้ว

    Thanks Mr.Chuck! This is really really great stuff.

  • @longlost8424
    @longlost8424 ปีที่แล้ว +10

    decades ago I started writing batch files (like many of these commands) to do so many of these commands within my work domains. over the years, I've updated and tweaked many in order to work more efficiently. still good to see that even you Chuck, revert to the old ways when it comes to our winders environments......

    • @leecowell8165
      @leecowell8165 ปีที่แล้ว

      in linux they're called "bash" files.. acronym for "born again shell". btw in linux all commands are in lower case because everything in linux IS case sensitive including file/directory names. thus boohoo.sy.sh is NOT the same as Boohoo.sy.sh. and note the 2 dots here. linux doesn't use extensions but there are still defaults that users typically define such as ..sh for a typical bash file. oh. no drive letters either everything in unix/linux is defined as a gigantic tree that begins under a partition and those partitions can be located on any drive that is mounted. note though that if you unmount a partition everything within it goes "bye-bye" (which is completely different than windows).

    • @zyneed2643
      @zyneed2643 ปีที่แล้ว

      @@leecowell8165 ok

  • @jarrodburns6339
    @jarrodburns6339 ปีที่แล้ว +16

    For command prompt:
    Windows + R
    type cmd
    Ctrl + Shift + Enter (For administrator mode)

    • @fr0stief0n
      @fr0stief0n ปีที่แล้ว +1

      cool tip, I always thought u can't run as admin mode in run box

    • @blargh82
      @blargh82 ปีที่แล้ว

      Same thing but for Windows Terminal (I prefer using Terminal instead of Command Prompt)
      Windows + R
      type wt
      Ctrl + Shift + Enter

    • @egokhanturk
      @egokhanturk ปีที่แล้ว

      @@blargh82for windows terminal you can set to run admin mode everytime. Then you can type wt in windows explorer's address bar hit enter bum admin mode and no need cd command

  • @subhasbelvai3054
    @subhasbelvai3054 ปีที่แล้ว

    Love you so much bro, thank you for advancing our cmd knowledge

  • @darcyfunk
    @darcyfunk ปีที่แล้ว

    Thank you!!! You rock! Awsome tutorial and excellent editing! No need to 2x playback.

  • @justacherryontop6538
    @justacherryontop6538 ปีที่แล้ว +5

    that's exactly what's this kind of video should be, i mean this are just command they are not any complex things you don't have to make them you just use them and remember them👍

  • @sklise1
    @sklise1 ปีที่แล้ว +8

    Ping -w for wait is helpful if lateness is higher then the standard ms. Great video.

    • @sklise1
      @sklise1 ปีที่แล้ว

      Dcdiag was good. Thst has some cool options. Lots of great command lines.

  • @ArmySoldier1972
    @ArmySoldier1972 ปีที่แล้ว +1

    Great video.
    I am a long time computer geek. Lots of helpful reminders in here, and i learned something new.
    Great presentation.
    New sub.
    Army
    SE Oregon

  • @mfawzi89
    @mfawzi89 ปีที่แล้ว

    This kind of videos is really amazing. Thank you

  • @NCwiok
    @NCwiok ปีที่แล้ว +68

    Excellent content as usual! I just ran though and turned a lot of these into batch files :) Instead of putting the ipconfig /displaydns into your clipboard, you could replace "| clip" with ">> %USERPROFILE%\Desktop\DNS.txt" and have the results of the command just port straight to your desktop as well.

    • @r000tbeer
      @r000tbeer ปีที่แล้ว +19

      Add "&& notepad %USERPROFILE%\Desktop\DNS.txt" at the end and notepad will open it for you.

    • @grayjax
      @grayjax ปีที่แล้ว +2

      so fucking cool ty! - im a complete noob but this finally forced me to figure out my desktop path properly which i had simply never bothered to look up when frustrated. ty sm

    • @_....____......_
      @_....____......_ ปีที่แล้ว +1

      Nice!

    • @B0TZ
      @B0TZ ปีที่แล้ว +1

      what is batch file and what are you guys talking about if you could explain

    • @NCwiok
      @NCwiok ปีที่แล้ว +3

      @@B0TZ a batch file is a script file for Windows that allows you to write commands out in advance and then save it for execution later. If you open notepad.exe and then input something youd run in the command prompt, then save it as *filename*.bat, you can run that command any time you double click it. Try a few of the commands that NetworkChuck showed in this video, it's very helpful to keep on a flash drive to troubleshoot your friends or family's devices. Personally I use "Shutdown -r -f -t 0" in a .bat file all the time for computers I know have been on all the time just in case a Windows update is preventing a restart.

  • @idogaming3532
    @idogaming3532 ปีที่แล้ว +7

    5:44 you can use /im instead of /pid but you need to supply the exe name instead of the pid in that case.

    • @idogaming3532
      @idogaming3532 ปีที่แล้ว

      @Yashvir The Pentester not true. For example: taskkill /f /im explorer.exe kills explorer. Any windows version that has taskkill will work with this. Now stop spreading misinformation.

  • @luanvorster641
    @luanvorster641 ปีที่แล้ว

    First off all your dry humor is appreciated ;)
    Thanx for all the cool tips. From what you do i take it that you have some cyber security knowledge. Thumbs up bro. Ill keep following your channel. Just love it.

  • @apreshdesai9116
    @apreshdesai9116 10 หลายเดือนก่อน +1

    You are a legend!! Keep up the good work/ videos 😊

  • @firojpaudel
    @firojpaudel ปีที่แล้ว +30

    Hey Chuck ,
    Could you make some for linux terminal as well? I recently shifted to ubuntu and would like to learn from you

    • @iteeruzz2006
      @iteeruzz2006 ปีที่แล้ว +1

      Ubuntu is cool but if you would like to learn more about Linux, I suggest you switch to Kali ....he has multiple videos on kali than any other Linux distro

    • @xrafter
      @xrafter ปีที่แล้ว +2

      @@iteeruzz2006
      first, kali isn't for every day use. second, all commands in kali will work in ubuntu .

    • @charlesyoungblood9414
      @charlesyoungblood9414 ปีที่แล้ว

      He has videos on learning Linux, and the bash scripting.
      Also check out the links he mentions (itprotv and hack the box academy)
      they will help build a solid understanding.

  • @BluJayMC
    @BluJayMC ปีที่แล้ว +7

    YES! This is great! Can you do one for Powershell as well?!

    • @du7v
      @du7v ปีที่แล้ว +1

      Yes!!

    • @ACOnetwork
      @ACOnetwork ปีที่แล้ว +1

      As far as I know, you can do all this the same in PowerShell 😀, just open PowerShell instead CMD in Administrator mode ofcourse 😎

    • @itprofessor
      @itprofessor ปีที่แล้ว +2

      Sure you can, PowerShell can do the same what CMD and beyond :)

  • @anonymous_45773
    @anonymous_45773 6 หลายเดือนก่อน +1

    Great video,better than most of the other TH-camrs,direct to the point,thank you for the video❤

  • @GJPhotograph
    @GJPhotograph ปีที่แล้ว

    Thanks, I needed a refresher. TeamChuck!