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 - Наука
lol, that's allot of "L"s in the windows logo :P
They should be Fs
😂 I didn't notice, thanks
❤gnu/linux
Windows literally taking the L is highly appropriate imo
That was the first thing I noticed! 🤣
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!
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.
alacritty exists for windows
@@mAsTeR98ofu I know but zsh+alacritty does not. It's either git bash+zsh or alacritty+a windows shell.
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.
What goes on the internets stays on the internets. You will be immortal because of your contributions. Kudos.
bros aliases are so complex he presses 2 keys and enter that summons harry potter spells
perfect exactly what I needed as I haven't saved my prev profile and had a sys crash. -- many thanks big thumbs up
You don't have any idea how MUCH i love these videos. Thanks man. PS: CLI rules
this video is 13:37 AKA 1337 AKA LEET. Nicely done.
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.
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 }
awesome.. will pickup few things..
Great video, just a question, what execution policy do you have. How do you manage powershell execution policy in you system?
Chris i love your video... Great Works
..thank U Chris.. I've been struggling with PowerShell a Year since U published 1st video "Pretty PowerShell"..
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?
Btw in the current version of windows terminal cascadia code comes with nerd font
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?
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. 💘
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 😉
Adding your own style and touch, is what scripting was, is and always will be 😉
What is providing the auto complete for your terminal? That would be brilliant to have
Is there any way to add some properties in windows taskbar? like public IP address or display battery percentage of any selected Bluetooth devices..
I use Unispace font, it adds a PS1 flair to it while looking great for command lines at the same time
Good video!
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
thats awesome
HOW!! THIS VIDEO WAS JUST POSTED!!! 7 DAYS AGO!!!
Lol same here
dude pre-posted his comment even before Chris started making this video.
I think Chris had this running as a members-only vid before releasing it free now.
does the powershell support drag and drop links i rly need that because i do not use IDM Anymore
Need a review video for win-vind (system wide vim bindings in windows) please !!🙂
Very cool!
How did you change your Taskbar? It looks very minimalistic
how did you replace the windows shell with a tiling wm, i'm super confused
same here
It's GlazeWM; he did a video covering it a few weeks ago.
all this fkn time I thought he was using Linux on these videos lmao
@@rayjaymor8754 😆😆😆😆
This is nice, but how about a video on how to set this up?
please do a video on that windows window manager, it looks like i3wm
WSL2 is good too. best of both worlds. no need to port functionality over to powershell.
Just moved to Linux from windows 😊
Which linux?
good for you. On my side, it isn't in my plans for now
Ew
Ew
Ew
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. 😂
Could you make the script only run the update fetch the first time you open the shell in a day?
A few days Microsoft launched a new release of Cascadia Code with NF
@3:52 uptime - sir, PS7 has that built in -> get-uptime - so just set an alias: alias uptime = "get-uptime -since" and thats it
Is there any current solution to disabling right click paste
?
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
Hi, there's a way to delete the custom profile and restore all to default?
Are you offering updates for purchasers?
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.
set-executionpolicy remotesigned
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.
Are you using visual studio 2022 or VS code?
AWESOME
Where are you getting the neofetch from?
there is winget install neofetch btw
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.
13:07 - Darling Wife, the Oracle-Certified Professional, would refer to those people as "mouse-dependent"...
How do youget the little ~> thing... mines is diamond question marks
hey CTT can you review nushell ?
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
How do you have a twm desktop type on windows?
Two suggestions: duf to see disk space etc., but most importantly, oh my posh can install nerd fonts directly from cli now!
FWIW, you can install those nerd fonts from chocolatey also.
how to force specific software 720p in 1080p display in windows 11 ?
What power shell has version?wtf didnt even knew before this video
Why not add this to the win app? Automatically add the profile and fonts (if it's possible) in one click.
please someone tell me what is the bar up top
GlazeWM - ruclips.net/video/0I8HyVMKEeo/видео.html
how do u set it up in win 10?
what window manager are you using
Probably GlazeWM
yes it's glazewm. you see the blue circle icon on the top right
I installed it and NOW everything is in RED including cmd? HOW to undo Power Shell installation please?
windows shell replacement??? I need to try it!!
9:30 actually ohmyposh can install fonts by one liner
oh-my-posh font install
btw scoop is better than choco
i swear after the latest update you block telemetry but when you "check" which tweaks are enabled it's unchecked
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...
*The ultimate Terminal experience
I need help I don’t really understand how to do it
Is this the REAL Ultimate PowerShell?
the only thing missing is an update to starship
what os is this?
Windows
hey i got the same videocard as urs
video runtime = 1337
Sir Windows 10 lite version please for old version pc dual core 4gb ram
winfetch when
Fastfetch
Powershell 7? I have Windows 11 and it's showing Powershell 5...
Is powershell >>Terminal ??
Wow I can't believe I am one of the first 4000 people to watch this video
2 secs to load? _laughs in powerlevel10k_
How to make windows looks like your windows
Switch to Fastfetch
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
it takes 2 seconds for you to start up powershell!!!
That includes time to check for PS updates and loading the user profile, I think.
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 🍻
Wha
Awesome video. However it’s not useful for me as I spend my entire workday in a Linux bash shell.
Aren't you special, would you like a cookie?
Ow.wel..i just play video games when i boot up my pc.
Sorry, but you should be realistic here. Can you imagine a Windows user typing 'la' in PowerShell to see files ?!!
1337
leet
Why doesn’t the government hire you man?
Bro neofetch is dead
Always has been.
this is a brittle script. caveat emptor
neofetch is officially dead, switch to fastfetch
Can you make a in-depth video on "OH MY POSH" installation on both "WINDOWS" and "LINUX". Its a request... @ChrisTitusTech