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

Поділитися
Вставка
  • Опубліковано 2 тра 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,5 тис.

  • @NetworkChuck
    @NetworkChuck  Рік тому +255

    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 Рік тому +2295

    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 Рік тому +89

      This should be pinned. Great point.

    • @heuristix77
      @heuristix77 Рік тому +54

      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 Рік тому +576

    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 Рік тому +11

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

    • @eduardojavier112
      @eduardojavier112 Рік тому +4

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

    • @Mahmoud1987Hamada
      @Mahmoud1987Hamada Рік тому +6

      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.

  • @JazAero
    @JazAero Рік тому +127

    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 Рік тому +4

      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 5 місяців тому

      Bro gave his ip

    • @hi_its_me1337
      @hi_its_me1337 2 місяці тому

      ​@@Awesomeguy7435YThe's using VPN

  • @Piano_Castle
    @Piano_Castle Рік тому +425

    FINALLY! A UA-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:
      ua-cam.com/video/0oHoXlnv-RE/v-deo.html

  • @nerdy-zeig7774
    @nerdy-zeig7774 Рік тому +723

    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.

  • @okamimoushiyou
    @okamimoushiyou Рік тому +20

    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 Рік тому +4

      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!

  • @BulletNG
    @BulletNG Рік тому +209

    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.

  • @NoxiousGhoulv2
    @NoxiousGhoulv2 5 місяців тому +1

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

  • @hedaros17
    @hedaros17 Рік тому +35

    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

  • @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?

  • @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.

  • @joshyapplecider
    @joshyapplecider Рік тому +23

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

  • @jr-pc4do
    @jr-pc4do Рік тому +171

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

  • @johnwick679
    @johnwick679 Рік тому +9

    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

  • @nyatibros2172
    @nyatibros2172 6 місяців тому +4

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

  • @ZapRodil461
    @ZapRodil461 7 місяців тому

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

  • @AustroPower
    @AustroPower Рік тому +50

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

  • @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.

  • @Asim-Mias
    @Asim-Mias 9 місяців тому +2

    Thank you man, some of these commands didn't know before, it's was good to catch up such a 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.

  • @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 👍

  • @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

  • @chriscanadahello
    @chriscanadahello 12 днів тому

    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

  • @networkn
    @networkn Рік тому

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

  • @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.

  • @organicmechanic5150
    @organicmechanic5150 Рік тому +43

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

  • @raymondvanmatre8917
    @raymondvanmatre8917 Рік тому +1

    hands down. best videos for IT on youtube. Keep posting man, you've helped me out ALOT.

  • @kaeez
    @kaeez Рік тому +15

    Thanks Chuck! This was pretty useful.

  • @fixer1140
    @fixer1140 Рік тому +8

    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.

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

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

  • @novo6462
    @novo6462 10 місяців тому

    Thanks for this, I work a service desk engineer and use these commands on a regular basis.

  • @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.

  • @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.

  • @TrevorMatthews
    @TrevorMatthews Рік тому

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

  • @_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

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

  • @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"

  • @machdaddy6451
    @machdaddy6451 Місяць тому

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

  • @mirage1857
    @mirage1857 Рік тому

    I didn't expect to learn much or anything from this but I didn't know about the /fw switch for shutdown good to know.

  • @bossK78
    @bossK78 Рік тому +4

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

  • @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.

  • @onethis144
    @onethis144 Рік тому

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

  • @420birdman
    @420birdman 10 місяців тому

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

  • @_faz_.
    @_faz_. Рік тому +3

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

  • @chadwicktyrone8894
    @chadwicktyrone8894 Рік тому +9

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

  • @Mainbusfail
    @Mainbusfail 5 місяців тому

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

  • @majesticviews5397
    @majesticviews5397 11 місяців тому

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

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

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

  • @subhasbelvai3054
    @subhasbelvai3054 Рік тому

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

  • @muffledd
    @muffledd 3 місяці тому

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

  • @SerRipsen
    @SerRipsen Рік тому +37

    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.

  • @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.

  • @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.

  • @Sphinxone
    @Sphinxone Рік тому

    Thank you so very much! I followed along and found one of my PC's was indeed haunted as you say and fixed it!

  • @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

  • @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 Місяць тому

      because they ARE new 😅

  • @AnthonySchattenberg
    @AnthonySchattenberg 5 місяців тому

    Hi,
    I am an it engineer for many many years, and I still love learning. Today, I learned things from your video, thank you very much, it is so cool !!!!!! You have a new follower 🙂

  • @apreshdesai9116
    @apreshdesai9116 9 місяців тому +1

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

  • @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 11 місяців тому

      @@leecowell8165 ok

  • @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?

  • @albertovazquez9867
    @albertovazquez9867 3 місяці тому

    You are a freaking beast bro. Keep doing what your doing. These are amazing things to learn. Doing gods work

  • @RED_V3LV3T
    @RED_V3LV3T Рік тому

    +1 SUB! as a tech support i clipped that link on my notepad, definitly gonna help me solve my clients issues, or mine. 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

  • @simonsezblah
    @simonsezblah Рік тому

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

  • @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

  • @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.

  • @kevinwelsh8438
    @kevinwelsh8438 Рік тому +3

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

  • @androidgamesdark9648
    @androidgamesdark9648 7 місяців тому

    I watched the adds bro it's the only way I can support you bro , and I dropped you a like too .❤

  • @NathanPatton
    @NathanPatton Рік тому +1

    Great vid! Some of my other favorites are:
    systeminfo
    wmic os get lastbootuptime
    wmic bios get serialnumber (really handy when I was working a retail service desk)
    net user administrator /active:yes
    tasklist
    taskkill
    diskpart
    non-commands:
    pressing the tab key to autocomplete
    pressing up to view your last command
    pressing CTRL + C to abort a command line process
    highlight text then right click to instantly copy

  • @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

  • @KeithBarker
    @KeithBarker Рік тому +9

    Amazing video and content. Thank you! 💪🏽

    • @NetworkChuck
      @NetworkChuck  Рік тому +3

      Thanks Keith! Good to hear from you!

    • @nigelphillips7454
      @nigelphillips7454 4 місяці тому

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

  • @gracienlebel4824
    @gracienlebel4824 Рік тому

    Another kickass tutorial from NetworkChuck! Thanks!

  • @IdRadical
    @IdRadical 8 місяців тому

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

  • @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👍

  • @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+ ?

  • @rolfbackstrom6029
    @rolfbackstrom6029 10 місяців тому

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

  • @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.

  • @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.

  • @OREISONBLUE
    @OREISONBLUE Рік тому +3

    I learnt a lot from this guy! Thank you

  • @darcyfunk
    @darcyfunk 11 місяців тому

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

  • @QuantApplicantMattKulis
    @QuantApplicantMattKulis Рік тому +1

    as someone just learning about the functionality and use cases of powershell, this video had a lot to unpack. you could easily do a follow up video explaining each command/ and the what it does and why you might want to do xyz, and turn this video into another 10 hours of content. i know id watch it. keep up the great information distribution and as always, don't forget to drink coffee lol

  • @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.

  • @_-_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?

  • @yusufmarz1565
    @yusufmarz1565 8 місяців тому

    Love the way u made it it seem Interesting by using the background sound, editing and tone of voice

  • @venoltar
    @venoltar Рік тому

    Damn, all these years and I never noticed the /fw switch on shutdown. Thanks for that, it will save a heap of time in the future. Glad I watched to the end :)

  • @Aethid
    @Aethid Рік тому +6

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

  • @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

  • @amillionslikeme3030
    @amillionslikeme3030 5 місяців тому

    I do love your channel man ❤️❤️❤️appreciate the effort

  • @JacobNozicka
    @JacobNozicka 3 місяці тому

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

  • @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.

  • @faizanahmed9304
    @faizanahmed9304 Рік тому +7

    Thank you Chuck! Needed this video. I'm familiar with Linux commands all thanks to you because of your Linux for hackers playlist. I could mistakenly type Linux commands on my Command Prompt. This video helps to avoid that ambiguity.

  • @MrLarangeiras
    @MrLarangeiras Рік тому

    Came here just to know how to reset into bios, now i feel like i've learned things i shoudn't... That's Great!

  • @shefw.armando
    @shefw.armando 6 місяців тому

    this actually helped so much thank you

  • @di4352
    @di4352 Рік тому +9

    Such a great video! I'm glad I learned a lot of cool commands for the cmd prompt and you took a really short amount of time to present and explain each one, made it simple, to the point and I didn't feel overwhelmed at the end.

  • @joeylee7740
    @joeylee7740 Рік тому +10

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

  • @PurplePickle00
    @PurplePickle00 9 місяців тому

    luv the videos dude..... I knew a lot of them but powercfg was great..... and formatted?? Sweet!
    And that you can type so fast without a single backspace..... let me know your coffee shop!!!!
    Great Work!!!

  • @daveadams6421
    @daveadams6421 9 місяців тому

    the boot into bios command is super useful 👍👍