Anyone who had their first experience with computers in the 80s often did so on a Commodore 64. The nostalgia of turning on the blue screen lasts to this day. That is why I have adapted my PowerShell environment so that it looks like a C64. How you can customize your shell as well I described here. Have fun with it.
https://blog.greenbrain.de/2023/03/the-retro-terminal-looking-good-in-8.html
#powershell #powershellcore #powershell7 #windows #windowsserver #windowsterminal #terminal #commodore64 #c64 #retro
#PowerShell #powershellcore #powershell7 #windows #WindowsServer #WindowsTerminal #terminal #commodore64 #c64 #retro
So my latest PowerShell book is actually published:
https://tfl09.blogspot.com/2023/02/my-latest-last-powershell-book-is.html
Still looking for reviewers
#PowerShell
#PowerShell7
I also finished work on my #powershell book. Covers using #powershell7 and #WindowsServer2022 . Even shows how to use #pwsh to manage WSUS!
4/4
#powershell #powershell7 #windowsserver2022 #pwsh
How often are you using classes instead of pscustomobjects in #powershell?
For me, using classes, you have better control over your data.
#powershell #powershell7 #powershellscripting
OK, so I had heard of #Starship Prompt and wanted to try it our on #PowerShell5. Googled it. Installed some NerdFonts π. Downloaded Starship from the Github and followed the instructions for set up. Just errors about it not being for this OS π€.
While poking around, found out about #PowerShell7π€. Installed #winget π€. Installed PS7 hoping maybe that would work. Nope. Learned more about PS7.
Somehow came across #OhMyPosh, and installed that. Worked right off π². Tried different themes, didn't like any of them. Made a copy of a theme JSON and tweaked it until I liked it π.
Quite the Linux-ish rabbit hole I wasn't expecting to go down π€ͺ.
#starship #powershell5 #powershell7 #winget #ohmyposh
@cl alternatively, in #PowerShell7 change the value of $PSSessionConfigurationName to be a #PowerShell 7 one.
LIke this:
@cl
1. Determine #PowerShell7 Endpoints:
Enable-PSRemoting # to be safe
Get-PSSession Configuration
This gets you the endpoint names for #PowerShell 7 sessions. you should see two!
2. Then create tne New-PSSession using the Configuration Name parameter.
Looks like this:
@shwalsh13@vmst.io Hardest ch was the last. Trying to manage #WSUS in #PowerShell 7. The WSUS team could not have shipped such a ore Powershell unfriendly module and object model if that was their aim. Even the RSAT tool feature name is different to ALL the rest. And I suspect MSFT will never revise it to use more modern protocol and support #.NET. Still with #Powershell7 there are ways around this
#wsus #powershell #powershell7
I know it is boring but I have been playing around with #PowerShell Compress-Archive Cmdlet lately and it is very helpful especially when working with multiple files.
Here is a quick demo to see it in action. The -Update parameter overwrites the file each time. So you won't experience errors. #PowerShell7 #Scripting #Cmdlet
#powershell #powershell7 #scripting #Cmdlet
A fantastic book by @DoctorDNS which although I donβt get much Server Exposure still have taught me a lot. Cheers Thomas, and great to see you on here. #PowerShell #PowerShell7
A small little function I wrote this evening which fetches the Partition Name and Size on a Windows Device. Nothing groundbreaking. #powershell #scripting #windows #powershell7
#powershell #scripting #windows #powershell7
If anyone is looking for a nice way to present code on here or anywhere else give https://carbon.now.sh/ a try. I just used this random PowerShell 7 output as an example. #carbon #powershell7 #coding #scripting
#carbon #powershell7 #coding #scripting