PowerShell Weekly for August 30, 2024 - eviltoast

Announcements!

  • PnP PowerShell Changes Its Entra ID App
    On August 21, 2024, news emerged that the PnP PowerShell module will transition from using a multi-tenant Entra ID app to a tenant-specific app. The change is scheduled for September 9, 2024, which doesn’t leave a lot of time available for developers to review, update, and test PowerShell scripts based on PnP PowerShell. Some extra warning would have been nice.
  • Windows Terminal Preview 1.22 Release
    Hello friends, we have a new Windows Terminal Preview release! Windows Terminal Preview 1.22 is a large release that contains new features such as Sixel image support (a LARGE community contribution!), Grapheme Cluster Support, the Snippets Pane, Quick Fixes in CMD, and a new Cooked Read popup in CMD to name a few!
  • PowerShell 7.5.0 preview 4 released
    Download the newest preview release of PowerShell 7.5.0

Blogs, Articles, and Posts

  • Display Markdown files in PowerShell
    Creating Markdown files is something that I do regularly, usually in Visual Studio Code or Obsidian. But when working in a Windows Terminal or a standard PowerShell prompt, it’s nice to display those .md files in those, too, with all the formatting that Markdown gives you. In this blog post, I will show you how :)
  • Powershell Invoke-WebRequest Fails with SSL/TLS Secure Channel
    TLDR make sure your system time is correct in Windows & BIOS Ok, this has been well documented around the internet, and the typical answer is: Powershell Invoke-WebRequest Fails with SSL/TLS Secure Channel – Stack Overflow However today I was really annoyed because that was already built into my script
  • How to make your Windows ssh keys available to git in WSL
    A neat little trick.

Projects, Scripts, and Modules

  • Mastering Active Directory Hygiene: Automating Stale Computer Cleanup with CleanupMonster
    Have you ever looked at your Active Directory and wondered, “Why do I still have computers listed that haven’t been turned on since World Cup 2016?” Yeah, we’ve all been there. Keeping AD clean and up-to-date is like trying to organize your garage—it’s easy to put off until it becomes a total mess.
  • Creates a PSSession that targets a scheduled task process
    Created New-ScheduledTaskSession for PowerShell that can create a PSSession for use with Invoke-Command to run PowerShell code in the context of a scheduled task process. This is a fun way to bypass NETWORK logon limitations like the Windows Update API
  • PowerShell Nerd Fonts Installer
    I recently had the chance to work on a PowerShell installer for Nerd Fonts, which includes the new Cascadia Code/Mono from the Microsoft repository.

Books, Media, and Learning Resources

  • The Best PowerShell Cheat Sheet
    Looking for a good PowerShell cheat sheet? Then you are in the right place. I have been working with PowerShell for the last 10 years. During that time I have written down the most useful cmdlets, operators, or useful commands in many places, just to remind them.
  • Everything you wanted to know about exceptions
    Error handling is just part of life when it comes to writing code.

Community

  • Be the Community: Insights and Event Log Automation with Phil Bossman
    In this episode of the PowerShell Podcast, we sit down with the newly minted Microsoft MVP, Phil Bossman, to dive into the heart of the PowerShell community and what it truly means to “be the community.” We discuss the excitement building around PowerShell Saturday NC and the invaluable learning opportunities it offers. Phil shares his expertise on exploring event logs and how to harness their power for PowerShell automation, providing practical insights for both beginners and seasoned pros. Join us as we celebrate Phil’s journey to becoming an MVP and gain inspiration from his dedication to the PowerShell community.
  • Inside IT Automation E10
    Guy Leech talks about his PowerShell journey, the use of AI and more.

Fun

  • Among Us
    Randomly decided to add an Among Us theme to the end of the script to tell me it’s finished running :)

Events

  • Scriptember Kick-Off: Let’s celebrate PowerShell!
    We are kicking off a month-long celebration of PowerShell and its vibrant community. Join our kick-off session where we talk with some awesome members of the PowerShell community. We will discuss why PowerShell is a great IT automation technology, how to learn it and how PowerShell helps IT professionals advancing their careers.

Check out psweekly.dowst.dev for all past editions as well as a searchable archive.