fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

10K
active users

#PowerShell7

0 posts0 participants0 posts today
Jan-Hendrik<p>Ha! Received my new gaming rig, installed Fedora and was immediately thankful for past me documenting kernel module signing: <a href="https://janhendrikpeters.de/en/post/obs-virtual-camera-secure-boot/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">janhendrikpeters.de/en/post/ob</span><span class="invisible">s-virtual-camera-secure-boot/</span></a><br>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.</p><p><a href="https://metalhead.club/tags/PowerShell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell7</span></a> <a href="https://metalhead.club/tags/fedora" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>fedora</span></a></p>
Hagen Deike :verified:<p>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.</p><p><a href="https://blog.greenbrain.de/2023/03/the-retro-terminal-looking-good-in-8.html" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">blog.greenbrain.de/2023/03/the</span><span class="invisible">-retro-terminal-looking-good-in-8.html</span></a></p><p><a href="https://sueden.social/tags/powershell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershell</span></a> <a href="https://sueden.social/tags/powershellcore" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershellcore</span></a> <a href="https://sueden.social/tags/powershell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershell7</span></a> <a href="https://sueden.social/tags/windows" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>windows</span></a> <a href="https://sueden.social/tags/windowsserver" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>windowsserver</span></a> <a href="https://sueden.social/tags/windowsterminal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>windowsterminal</span></a> <a href="https://sueden.social/tags/terminal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>terminal</span></a> <a href="https://sueden.social/tags/commodore64" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commodore64</span></a> <a href="https://sueden.social/tags/c64" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>c64</span></a> <a href="https://sueden.social/tags/retro" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>retro</span></a></p>
Joe 🏔️ King of NYNEX :donor: :fedora: :haiku:<p>Do you run PowerShell Core in production?<br><a href="https://infosec.exchange/tags/powershell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershell</span></a> <a href="https://infosec.exchange/tags/PowerShell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell7</span></a></p>
Thomas Lee ✅ :patreon:<p>So my latest PowerShell book is actually published:<br><a href="https://tfl09.blogspot.com/2023/02/my-latest-last-powershell-book-is.html" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">tfl09.blogspot.com/2023/02/my-</span><span class="invisible">latest-last-powershell-book-is.html</span></a></p><p>Still looking for reviewers<br><a href="https://masto.ai/tags/PowerShell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell</span></a><br><a href="https://masto.ai/tags/PowerShell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell7</span></a></p>
Thomas Lee ✅ :patreon:<p>I also finished work on my <a href="https://masto.ai/tags/powershell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershell</span></a> book. Covers using <a href="https://masto.ai/tags/powershell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershell7</span></a> and <a href="https://masto.ai/tags/WindowsServer2022" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WindowsServer2022</span></a> . Even shows how to use <a href="https://masto.ai/tags/pwsh" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pwsh</span></a> to manage WSUS!</p><p>4/4</p>
Dan :dumpster_fire:<p>Got <a href="https://infosec.exchange/tags/PowerShell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell</span></a> 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.</p><p>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.</p><p>Also, ISE doesn't support PS7 :( --&gt; but there is an official Visual Studio Code extension that does, and it even has an "ISE Mode."</p><p>H/T Nasreddine Bencherchali ( @nas_bench@twitter.com ): <a href="https://twitter.com/nas_bench/status/1616211194934882304" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">twitter.com/nas_bench/status/1</span><span class="invisible">616211194934882304</span></a></p><p>I also consulted <a href="https://learn.microsoft.com/en-us/powershell/scripting/whats-new/migrating-from-windows-powershell-51-to-powershell-7?view=powershell-7.3" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">learn.microsoft.com/en-us/powe</span><span class="invisible">rshell/scripting/whats-new/migrating-from-windows-powershell-51-to-powershell-7?view=powershell-7.3</span></a></p><p><a href="https://infosec.exchange/tags/PowerShell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell7</span></a> <a href="https://infosec.exchange/tags/DFIR" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>DFIR</span></a> <a href="https://infosec.exchange/tags/eventlogs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>eventlogs</span></a> <a href="https://infosec.exchange/tags/logging" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>logging</span></a> <a href="https://infosec.exchange/tags/artifacts" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>artifacts</span></a></p>
Damian Garbus<p>How often are you using classes instead of pscustomobjects in <a href="https://techhub.social/tags/powershell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershell</span></a>?</p><p>For me, using classes, you have better control over your data. </p><p><a href="https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_classes?view=powershell-7.3" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">learn.microsoft.com/en-us/powe</span><span class="invisible">rshell/module/microsoft.powershell.core/about/about_classes?view=powershell-7.3</span></a></p><p><a href="https://techhub.social/tags/powershell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershell7</span></a> <a href="https://techhub.social/tags/powershellscripting" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershellscripting</span></a></p>
Thomas Lee ✅ :patreon:<p><span class="h-card"><a href="https://tech.lgbt/@cl" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>cl</span></a></span> alternatively, in <a href="https://masto.ai/tags/PowerShell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell7</span></a> change the value of $PSSessionConfigurationName to be a <a href="https://masto.ai/tags/PowerShell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell</span></a> 7 one.<br>LIke this:</p>
Thomas Lee ✅ :patreon:<p><span class="h-card"><a href="https://tech.lgbt/@cl" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>cl</span></a></span> <br>1. Determine <a href="https://masto.ai/tags/PowerShell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell7</span></a> Endpoints:<br>Enable-PSRemoting # to be safe<br>Get-PSSession Configuration<br>This gets you the endpoint names for <a href="https://masto.ai/tags/PowerShell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell</span></a> 7 sessions. you should see two!</p><p>2. Then create tne New-PSSession using the Configuration Name parameter.</p><p>Looks like this:</p>
Joel Bennett<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@mondskiez" class="u-url mention">@<span>mondskiez</span></a></span> The worst thing is that all of those choices are antiques. 😉 <a href="https://fosstodon.org/tags/powershell7" class="mention hashtag" rel="tag">#<span>powershell7</span></a></p>
Thomas Lee ✅ :patreon:<p><span class="h-card"><a href="https://mastodon.nu/@bjompen" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>bjompen</span></a></span> <span class="h-card"><a href="https://techhub.social/@JeffHicks" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>JeffHicks</span></a></span> <a href="https://masto.ai/tags/powershell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershell</span></a> or <a href="https://masto.ai/tags/powershell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>powershell7</span></a> works...</p>
Thomas Lee ✅ :patreon:<p><span class="h-card"><a href="https://vmst.io/@shwalsh13" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>shwalsh13</span></a></span> Hardest ch was the last. Trying to manage <a href="https://masto.ai/tags/WSUS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>WSUS</span></a> in <a href="https://masto.ai/tags/PowerShell" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>PowerShell</span></a> 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 <a href="https://masto.ai/tags/Powershell7" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Powershell7</span></a> there are ways around this</p>
MrPowerShell<p><a href="https://fosstodon.org/tags/PowerShell" class="mention hashtag" rel="tag">#<span>PowerShell</span></a> and <a href="https://fosstodon.org/tags/git" class="mention hashtag" rel="tag">#<span>git</span></a> just got a bit better:</p><p>Another version of ugit is out! <a href="https://github.com/StartAutomating/ugit" target="_blank" rel="nofollow noopener noreferrer" translate="no"><span class="invisible">https://</span><span class="ellipsis">github.com/StartAutomating/ugi</span><span class="invisible">t</span></a></p><p>ugit updates git and lets it work well with the object Pipeline in <a href="https://fosstodon.org/tags/PowerShell7" class="mention hashtag" rel="tag">#<span>PowerShell7</span></a> </p><p>New in this version:</p><p>Install-Module ugit -Scope CurrentUser -Force<br />Import-Module ugit<br />git diff | Select-Object -ExpandProperty File</p>