The Ultimate PowerShell

Поделиться
HTML-код
  • Опубликовано: 23 май 2024
  • This PowerShell profile script introduces a comprehensive set of functions and aliases aimed at enhancing the PowerShell experience. It includes everything from module management and profile updates to utility functions and quality-of-life improvements.
    ►► Digital Downloads ➜ www.cttstore.com
    ►► Reddit ➜ / christitustech
    ►► Titus Tech Talk ➜ / titustechtalk
    ►► Twitch ➜ / christitustech
  • НаукаНаука

Комментарии • 144

  • @ziramagic7003
    @ziramagic7003 20 дней назад +135

    lol, that's allot of "L"s in the windows logo :P

    • @BPL-Whipster
      @BPL-Whipster 19 дней назад +2

      They should be Fs

    • @DhiegoRodrigues
      @DhiegoRodrigues 19 дней назад +1

      😂 I didn't notice, thanks
      ❤gnu/linux

    • @JacquesCoetzerAU
      @JacquesCoetzerAU 19 дней назад

      Windows literally taking the L is highly appropriate imo

    • @Jool4832
      @Jool4832 18 дней назад +1

      That was the first thing I noticed! 🤣

  • @riptorforever2
    @riptorforever2 20 дней назад +31

    08:45 By accident, you showing the "DNS flush" command sparked an idea that enabled me to solve a real problem that was strangling me. Thanks for the video!

  • @LeiluMultipass
    @LeiluMultipass 20 дней назад +36

    Powershell is cool, but those 2 seconds on each boot have turned me to another solution. I even prefer git bash with zsh on Windows. Unfortunately zsh and alacritty are not possible on Windows, apart from WSL of course.

    • @mAsTeR98ofu
      @mAsTeR98ofu 20 дней назад +2

      alacritty exists for windows

    • @LeiluMultipass
      @LeiluMultipass 20 дней назад +1

      @@mAsTeR98ofu I know but zsh+alacritty does not. It's either git bash+zsh or alacritty+a windows shell.

    • @thoughtstream9591
      @thoughtstream9591 19 дней назад

      I thought the same thing and just asked if he could make the check only run once a day. This saving a fair bit of time.

  • @copperchatter6890
    @copperchatter6890 19 дней назад +3

    What goes on the internets stays on the internets. You will be immortal because of your contributions. Kudos.

  • @PratyushKing1
    @PratyushKing1 16 дней назад +3

    bros aliases are so complex he presses 2 keys and enter that summons harry potter spells

  • @PeterScream
    @PeterScream 9 дней назад

    perfect exactly what I needed as I haven't saved my prev profile and had a sys crash. -- many thanks big thumbs up

  • @daiki6741
    @daiki6741 19 дней назад +2

    You don't have any idea how MUCH i love these videos. Thanks man. PS: CLI rules

  • @JediHagrid
    @JediHagrid 17 дней назад +3

    this video is 13:37 AKA 1337 AKA LEET. Nicely done.

  • @ulroxvladtepes4023
    @ulroxvladtepes4023 19 дней назад

    I think it depends a lot on your use case. I don't usually need aliases or updates. The things that I mainly need, I already have in an autohotkey gui. Smaller self made scripts embedded in the gui. If I need something else specific, I update what I have. If you're a web dev or programmer, and not an it supporter like me, your use case might be very different.

  • @carstenschlegel6975
    @carstenschlegel6975 8 дней назад

    Nice Video, and yes. CLI helps everywhere. Linux, Mac, Window.
    But...
    pst -> Get-Clipboard
    use -Raw Option, so it returns a string of the clipboard content and not an string array
    But it give aliases: gcb, scb for Get-Clipboard and Set-Clipboard
    But cpy is ok. The advantage should be that you get directly a string. Otherwise you could have just made an alias from cpy to Get-Clipboard.
    Therefore
    function pst { Get-Clipboard -Raw }

  • @mailman2097
    @mailman2097 20 дней назад +1

    awesome.. will pickup few things..

  • @softwaresips3454
    @softwaresips3454 13 дней назад

    Great video, just a question, what execution policy do you have. How do you manage powershell execution policy in you system?

  • @athanasmb
    @athanasmb 19 дней назад

    Chris i love your video... Great Works

  • @EmilKarloOLIakaKAN
    @EmilKarloOLIakaKAN 18 дней назад

    ..thank U Chris.. I've been struggling with PowerShell a Year since U published 1st video "Pretty PowerShell"..

  • @user-xs4ul1jj3u
    @user-xs4ul1jj3u 19 дней назад +1

    How did you install this beautiful bar on top, instead of explorer.exe?
    Is this some sort of tiling wm for windows, or you just running linux on host and making frameless transition into windows terminal somehow?

  • @crian117
    @crian117 20 дней назад +9

    Btw in the current version of windows terminal cascadia code comes with nerd font

    • @micaelviana
      @micaelviana 19 дней назад +1

      Can you explain? Does the terminal come with a pre-installed Cascadia Code Nerd Font, or does it rely on a backup font, like Wezterm that comes with a font for symbols?

  • @mrgeebee1622
    @mrgeebee1622 20 дней назад

    I love this for Windows and PS. But what about the nice bash shell??? I looked at the GIT Hub on it and there are several issues. Please can you can dig into that as well. 💘

  • @DocKotoga
    @DocKotoga 19 дней назад +1

    I think I know what I'm going to do on Monday morning when I get back to the office. I'll steal the profile and customize it for myself 😉

  • @neunmalelf
    @neunmalelf 19 дней назад

    Adding your own style and touch, is what scripting was, is and always will be 😉

  • @PaulHoughton
    @PaulHoughton 19 дней назад

    What is providing the auto complete for your terminal? That would be brilliant to have

  • @koushickprasad6372
    @koushickprasad6372 15 дней назад

    Is there any way to add some properties in windows taskbar? like public IP address or display battery percentage of any selected Bluetooth devices..

  • @IfritBoi
    @IfritBoi 19 дней назад

    I use Unispace font, it adds a PS1 flair to it while looking great for command lines at the same time

  • @YannMetalhead
    @YannMetalhead 18 дней назад

    Good video!

  • @grey_wool
    @grey_wool 13 дней назад +1

    i have a question, i ran cris titus tool, then i opimized my pc, now if i press win plus dot, or win + v, the clipboard doesnt show up, its completly gone and in the services software it doesnt show up too :( please help me

  • @4ryz
    @4ryz 27 дней назад +9

    thats awesome

    • @bytebackrepairco
      @bytebackrepairco 20 дней назад +1

      HOW!! THIS VIDEO WAS JUST POSTED!!! 7 DAYS AGO!!!

    • @mohamadalkhatib3265
      @mohamadalkhatib3265 20 дней назад

      Lol same here

    • @abdulalimmahir
      @abdulalimmahir 20 дней назад +2

      dude pre-posted his comment even before Chris started making this video.

    • @eraq3898
      @eraq3898 18 дней назад

      I think Chris had this running as a members-only vid before releasing it free now.

  • @touhami_dz6458
    @touhami_dz6458 19 дней назад +1

    does the powershell support drag and drop links i rly need that because i do not use IDM Anymore

  • @ajaykrishna4688
    @ajaykrishna4688 20 дней назад +3

    Need a review video for win-vind (system wide vim bindings in windows) please !!🙂

  • @who2u333
    @who2u333 20 дней назад

    Very cool!

  • @user-mr9lk6tz7q
    @user-mr9lk6tz7q 16 дней назад

    How did you change your Taskbar? It looks very minimalistic

  • @Logilype
    @Logilype 20 дней назад +8

    how did you replace the windows shell with a tiling wm, i'm super confused

    • @lapiezaestudio
      @lapiezaestudio 19 дней назад +1

      same here

    • @bigli
      @bigli 19 дней назад

      It's GlazeWM; he did a video covering it a few weeks ago.

    • @rayjaymor8754
      @rayjaymor8754 18 дней назад

      all this fkn time I thought he was using Linux on these videos lmao

    • @lapiezaestudio
      @lapiezaestudio 17 дней назад

      @@rayjaymor8754 😆😆😆😆

  • @1steditiongamer276
    @1steditiongamer276 19 дней назад +2

    This is nice, but how about a video on how to set this up?

  • @felipefmavelar
    @felipefmavelar 16 дней назад +1

    please do a video on that windows window manager, it looks like i3wm

  • @1MinuteFlipDoc
    @1MinuteFlipDoc 19 дней назад +1

    WSL2 is good too. best of both worlds. no need to port functionality over to powershell.

  • @sabbirahamedmaruf1446
    @sabbirahamedmaruf1446 20 дней назад +10

    Just moved to Linux from windows 😊

  • @darien217
    @darien217 18 дней назад

    You made PowerShell into Linux driven commands, I like the update feature. This would undoubtedly not with remembering the original powershell commands if you have to jump between different end user machines or jump between your machine and a server or colleague's workstation. I do see the value in it if you're doing a lot of work, typing ff looks a thousand times better than the PowerShell equivalent. 😂

  • @thoughtstream9591
    @thoughtstream9591 19 дней назад

    Could you make the script only run the update fetch the first time you open the shell in a day?

  • @alanmoyano
    @alanmoyano 20 дней назад +1

    A few days Microsoft launched a new release of Cascadia Code with NF

  • @DmnkRocks
    @DmnkRocks 18 дней назад

    @3:52 uptime - sir, PS7 has that built in -> get-uptime - so just set an alias: alias uptime = "get-uptime -since" and thats it

  • @fuatcankaburga942
    @fuatcankaburga942 19 дней назад

    Is there any current solution to disabling right click paste
    ?

  • @Xevf
    @Xevf 19 дней назад

    I think you could instead of checking for updates every launch, check forupdates every login or boot or n amount of hours by scheduling a task in the task scheduler

  • @francescolucarelli9513
    @francescolucarelli9513 19 дней назад

    Hi, there's a way to delete the custom profile and restore all to default?

  • @josephsmith1943
    @josephsmith1943 17 дней назад

    Are you offering updates for purchasers?

  • @mjs28s
    @mjs28s 19 дней назад

    Is this better than powershell with security / scripting permissions?
    Somewhere, back in time, I changed some security setting and I cannot run half my python programs from powershell and I even have problems creating or activating virtual environments. I have gone through the standards set-executionpolicy steps for all the users and even completely unrestricted it and that still did nothing. I just ended up going back to the standard CMD and terminal and all is grand, but I miss the powershell.

    • @UmVtCg
      @UmVtCg 19 дней назад

      set-executionpolicy remotesigned

    • @ceremus
      @ceremus 19 дней назад

      If you open a powershell instance as Administrator and enter: Set-ExecutionPolicy RemoteSigned -Scope LocalMachine
      that should set it so any of your local scripts will run. If you download them from an internet location they will either have to be signed or you would need to to allow them with the Unblock-File function. I don't recommend using Unrestricted for LocalMachine (or in general) unless you have no respect for opsec on your machine.

  • @Leadshot
    @Leadshot 20 дней назад

    Are you using visual studio 2022 or VS code?

  • @rukawata
    @rukawata 20 дней назад

    AWESOME

  • @matthewpaolini
    @matthewpaolini 19 дней назад

    Where are you getting the neofetch from?

  • @prombeats
    @prombeats 20 дней назад

    there is winget install neofetch btw

  • @eddys.3524
    @eddys.3524 17 дней назад

    Hi Chris... I tried the script, but unfortunately I keep running into some persistent problems.
    I hope somebody can help me with..
    First problem is "oh-my-posh" which is not recognized as a "cmdlet, function, script file, or executable program"...
    Further "zoxide.exe" fails to run, seemingly because of "cannot bind argument because it's Null" [ line 262: Invoke-Expression (& { (zoxide init powershell | Out-String) }) ]...
    Obviously I'm not very knowledgable on Powershell... so please some constructive input.

  • @nufosmatic
    @nufosmatic 19 дней назад +1

    13:07 - Darling Wife, the Oracle-Certified Professional, would refer to those people as "mouse-dependent"...

  • @Panicthescaredycat
    @Panicthescaredycat 18 дней назад

    How do youget the little ~> thing... mines is diamond question marks

  • @grogroge
    @grogroge 19 дней назад

    hey CTT can you review nushell ?

  • @loopfnlol
    @loopfnlol 18 дней назад

    How do I put it to my thing I downloaded the profile but what do I do now I don’t know how to add it

  • @danieldiaz2093
    @danieldiaz2093 17 дней назад

    How do you have a twm desktop type on windows?

  • @gschizas
    @gschizas 19 дней назад

    Two suggestions: duf to see disk space etc., but most importantly, oh my posh can install nerd fonts directly from cli now!

  • @jefferygrantham5582
    @jefferygrantham5582 18 дней назад

    FWIW, you can install those nerd fonts from chocolatey also.

  • @harshsinghgond496
    @harshsinghgond496 19 дней назад

    how to force specific software 720p in 1080p display in windows 11 ?

  • @krusty07
    @krusty07 20 дней назад

    What power shell has version?wtf didnt even knew before this video

  • @Linuxury
    @Linuxury 20 дней назад

    Why not add this to the win app? Automatically add the profile and fonts (if it's possible) in one click.

  • @MacAoi
    @MacAoi 18 дней назад +2

    please someone tell me what is the bar up top

    • @ChrisTitusTech
      @ChrisTitusTech  17 дней назад +1

      GlazeWM - ruclips.net/video/0I8HyVMKEeo/видео.html

  • @Tina-fe4my
    @Tina-fe4my 19 дней назад

    how do u set it up in win 10?

  • @soupnoodles
    @soupnoodles 20 дней назад +1

    what window manager are you using

    • @jsnjyn
      @jsnjyn 20 дней назад

      Probably GlazeWM

    • @Eric-ij6sw
      @Eric-ij6sw 19 дней назад

      yes it's glazewm. you see the blue circle icon on the top right

  • @dudeduderinoduderino9689
    @dudeduderinoduderino9689 16 дней назад

    I installed it and NOW everything is in RED including cmd? HOW to undo Power Shell installation please?

  • @lapiezaestudio
    @lapiezaestudio 19 дней назад

    windows shell replacement??? I need to try it!!

  • @bogdan-borisoff
    @bogdan-borisoff 20 дней назад

    9:30 actually ohmyposh can install fonts by one liner
    oh-my-posh font install

  • @prombeats
    @prombeats 20 дней назад +3

    btw scoop is better than choco

  • @CharlesConover
    @CharlesConover 19 дней назад

    i swear after the latest update you block telemetry but when you "check" which tweaks are enabled it's unchecked

  • @nufosmatic
    @nufosmatic 19 дней назад

    12:36 - Just be true to yourself, and be better than anybody watching, and don't worry about what people say... still trying to figure out how I got Powershell 7 to install on the other computer...

  • @IfritBoi
    @IfritBoi 19 дней назад

    *The ultimate Terminal experience

  • @loopfnlol
    @loopfnlol 18 дней назад

    I need help I don’t really understand how to do it

  • @shanent5793
    @shanent5793 18 дней назад

    Is this the REAL Ultimate PowerShell?

  • @Eric-ij6sw
    @Eric-ij6sw 19 дней назад

    the only thing missing is an update to starship

  • @user-lp5wb2rb3v
    @user-lp5wb2rb3v 19 дней назад +1

    what os is this?

  • @antoninoprincipato800
    @antoninoprincipato800 20 дней назад

    hey i got the same videocard as urs

  • @AnirudhTammireddy
    @AnirudhTammireddy 19 дней назад

    video runtime = 1337

  • @uniquesid3213
    @uniquesid3213 16 дней назад

    Sir Windows 10 lite version please for old version pc dual core 4gb ram

  • @rajarshikhatua100
    @rajarshikhatua100 20 дней назад

    winfetch when

  • @nufosmatic
    @nufosmatic 20 дней назад

    Powershell 7? I have Windows 11 and it's showing Powershell 5...

  • @deadheads1352
    @deadheads1352 19 дней назад

    Is powershell >>Terminal ??

  • @ruukes4770
    @ruukes4770 20 дней назад +1

    Wow I can't believe I am one of the first 4000 people to watch this video

  • @onsearchfocus
    @onsearchfocus 15 дней назад

    2 secs to load? _laughs in powerlevel10k_

  • @ideepakjangraofficial
    @ideepakjangraofficial 19 дней назад

    How to make windows looks like your windows

  • @karthee006
    @karthee006 18 дней назад

    Switch to Fastfetch

  • @jinekLESNIK
    @jinekLESNIK 20 дней назад

    Ahaha, if you have internet connection now it does not mean you will have it next moment. Don't run PowerShell when on 3g :D

  • @atifchy_
    @atifchy_ 20 дней назад

    it takes 2 seconds for you to start up powershell!!!

    • @LarsV62
      @LarsV62 19 дней назад

      That includes time to check for PS updates and loading the user profile, I think.

  • @Finite-Tuning
    @Finite-Tuning 19 дней назад

    I just create shortcuts for all the hard to find stuff in windows. The 'control panel' is one I can't live without. If you right click on that network icon, (once you find it) you can create a shortcut real easy. That's what I do since remembering CLI commands will always be far beyond my brains ability. Cheers 🍻

  • @permanno4104
    @permanno4104 20 дней назад

    Wha

  • @steveervin3354
    @steveervin3354 20 дней назад

    Awesome video. However it’s not useful for me as I spend my entire workday in a Linux bash shell.

    • @theritchie2173
      @theritchie2173 20 дней назад

      Aren't you special, would you like a cookie?

  • @FARDEENKHANQWE123
    @FARDEENKHANQWE123 20 дней назад

    Ow.wel..i just play video games when i boot up my pc.

  • @newbtop
    @newbtop 19 дней назад

    Sorry, but you should be realistic here. Can you imagine a Windows user typing 'la' in PowerShell to see files ?!!

  • @griffin1366
    @griffin1366 20 дней назад

    1337

  • @_..-_-.._
    @_..-_-.._ 20 дней назад

    leet

  • @evropej
    @evropej 20 дней назад

    Why doesn’t the government hire you man?

  • @losdenox
    @losdenox 19 дней назад +1

    Bro neofetch is dead

  • @SFDestiny
    @SFDestiny 20 дней назад

    this is a brittle script. caveat emptor

  • @AhmedIsam
    @AhmedIsam 19 дней назад

    neofetch is officially dead, switch to fastfetch

  • @mdanamulbari4280
    @mdanamulbari4280 19 дней назад

    Can you make a in-depth video on "OH MY POSH" installation on both "WINDOWS" and "LINUX". Its a request... @ChrisTitusTech