#PowerShell7

2024-03-06

Ha! Received my new gaming rig, installed Fedora and was immediately thankful for past me documenting kernel module signing: janhendrikpeters.de/en/post/ob
At that time to sign the v4l2 module, but today the old post helped me once again in signing the Nvidia modules. For some reason - which I did not care to troubleshoot longer than necessary - the documented akmods procedure did not work. Or rather: Did not sign the modules with the enrolled key.

#PowerShell7 #fedora

Hagen Deike :verified:samurai@sueden.social
2023-03-08

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.

blog.greenbrain.de/2023/03/the

#powershell #powershellcore #powershell7 #windows #windowsserver #windowsterminal #terminal #commodore64 #c64 #retro

Joe 🏔ïļ King of NYNEX :donor: :fedora: :haiku:luzkenin@infosec.exchange
2023-02-25

Do you run PowerShell Core in production?
#powershell #PowerShell7

Thomas Lee ✅ :patreon:DoctorDNS@masto.ai
2023-02-02

So my latest PowerShell book is actually published:
tfl09.blogspot.com/2023/02/my-

Still looking for reviewers
#PowerShell
#PowerShell7

Thomas Lee ✅ :patreon:DoctorDNS@masto.ai
2023-01-27

I also finished work on my #powershell book. Covers using #powershell7 and #WindowsServer2022 . Even shows how to use #pwsh to manage WSUS!

4/4

Dan :dumpster_fire:4n68r@infosec.exchange
2023-01-23

Got #PowerShell 7 and not seeing event logs in your triage? N.B. for PowerShell 7: Windows PowerShell logs events to "Microsoft-Windows-PowerShell/Operational"), but PowerShell 7 now logs events to "PowerShellCore/Operational." Detailed (e.g., Script Block) logging is NOT enabled by default.

PowerShell 7 includes Group Policy templates and an installation script in $PSHOME. Specifically, you can use the "RegisterManifest.ps1" and "InstallPSCorePolicyDefinitions.ps1" scripts in the PS7 installation directory to enable logging.

Also, ISE doesn't support PS7 :( --> but there is an official Visual Studio Code extension that does, and it even has an "ISE Mode."

H/T Nasreddine Bencherchali ( @nas_bench@twitter.com ): twitter.com/nas_bench/status/1

I also consulted learn.microsoft.com/en-us/powe

#PowerShell7 #DFIR #eventlogs #logging #artifacts

2023-01-04

How often are you using classes instead of pscustomobjects in #powershell?

For me, using classes, you have better control over your data.

learn.microsoft.com/en-us/powe

#powershell7 #powershellscripting

2022-12-31

OK, so I had heard of #Starship Prompt and wanted to try it out 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 ðŸĪŠ.

Thomas Lee ✅ :patreon:DoctorDNS@masto.ai
2022-12-22

@cl alternatively, in #PowerShell7 change the value of $PSSessionConfigurationName to be a #PowerShell 7 one.
LIke this:

Showing changing the default #PowerShell7 endpoint name from a generic to #PowerShell 7 end point
Thomas Lee ✅ :patreon:DoctorDNS@masto.ai
2022-12-22

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

Screen capture showing running Enable-PSRemoting, then getting configuration names and creating a session to a #PowerShell7 end point. Finally, run a command inside the session to confirm the #PowerShell version of the endpoint.
2022-12-21

@mondskiez The worst thing is that all of those choices are antiques. 😉 #powershell7

Thomas Lee ✅ :patreon:DoctorDNS@masto.ai
2022-12-20
Thomas Lee ✅ :patreon:DoctorDNS@masto.ai
2022-12-12

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

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst