Joe 🏔️ King of NYNEX · @luzkenin
69 followers · 653 posts · Server infosec.exchange

Do you run PowerShell Core in production?

#powershell #PowerShell7

Last updated 2 years ago

Dan :dumpster_fire: · @4n68r
141 followers · 90 posts · Server infosec.exchange

Got 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

#powershell #PowerShell7 #dfir #eventlogs #logging #artifacts

Last updated 2 years ago

Joel Bennett · @jaykul
253 followers · 130 posts · Server fosstodon.org

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

#PowerShell7

Last updated 2 years ago

James Brundage · @MrPowerShell
40 followers · 8 posts · Server fosstodon.org

and just got a bit better:

Another version of ugit is out! github.com/StartAutomating/ugi

ugit updates git and lets it work well with the object Pipeline in

New in this version:

Install-Module ugit -Scope CurrentUser -Force
Import-Module ugit
git diff | Select-Object -ExpandProperty File

#powershell #git #PowerShell7

Last updated 2 years ago

Shane :unverified: · @shanew
3 followers · 5 posts · Server fosstodon.org

If you are new to then I highly recommend this Book by Thomas Lee, especially if you work in a Server Environment.

#PowerShell7

Last updated 2 years ago