Skip Navigation

PowerShell Weekly for January 10, 2025

Announcements!

  • Pester v5.7.0
    Pester 5.7.0 is out, it adds new code coverage format Cobertura, and other fixes

Blogs, Articles, and Posts

  • PowerShell Pester 101: A Practical Guide for Beginners
    Learn how to validate your PowerShell scripts with Pester testing. This hands-on guide shows you how to write tests that ensure your code works as intended.
  • Automated Provisioning of Windows 365 Cloud PCs: Advanced Scripts
    We decided that we would create some more advanced scripts for admins, which would include some error handling, prompts for input, and more. You will be able to use these scripts to provision your Entra ID joined Cloud PCs for various scenarios, be it using a Microsoft Hosted network or an Azure Network Connection, Enterprise or Frontline builds, or choosing your Cloud PC image, language, or region etc.
  • Using PowerShell to make bulk changes to DotNet .csproj files
    When working on a big DotNet team, it’s easy to create a library but forget to set a configuration property according to your team’s standards. Most people don’t spend a lot of time looking at their…

Projects, Scripts, and Modules

  • All About the Office 365 for IT Pros GitHub Repository
    The Office365ITPros GitHub repository holds over 300 PowerShell scripts showing how to interact with Microsoft 365 and Entra ID. Anyone can contribute to Office365ITPros by forking the code to a copy of the repository and making changes to scripts there. If you want, you can push the changes back to us so that we can consider their inclusion in Office365ITPros. It's a great example of community in action.
  • JsonFS
    Mount a Json file as PowerShell file system. Contribute to wgross/json-fs development by creating an account on GitHub.
  • Icewolf.EXO.SpamAnalyze v2.0.14
    This is a Powershell Module that simplifies the Message Trace in Exchange Online (EXO).

Books, Media, and Learning Resources

  • A PowerShell Teaser
    Somewhat ironically, since finishing our long series on Bash scripting I’ve been almost exclusively writing scripts in a completely different language, PowerShell! Being a Microsoft language you’d be forgiven for assuming that means I’ve moved to Windows and started trying to automate things there, but you’d be mistaken, I’m still very much a Mac user! So what gives? Despite what its origins may suggest, the core PowerShell environment is both open source and cross-platform, running just fine on the Mac and Linux as well as Windows.
  • PowerShell in Azure: Adding Tags & Setting Location Restrictions
    In this tutorial, learn how to create and apply tags to Azure resources and enforce a location restriction policy using PowerShell. Effective resource tagging helps you organise and manage your Azure environment, while location restriction policies ensure compliance with regional regulations.
  • Run Data Access Governance reports with PowerShell
    How to run Data Access Governance reports for SharePoint Advanced Management in PowerShell

Community

  • Exploring PnP PowerShell Updates with MVP Gautam Sheth
    In this episode of the PowerShell Podcast, we’re joined by Gautam Sheth, Microsoft MVP and M365 developer extraordinaire, to explore the latest improvements to the PnP PowerShell module and how to get started with it. Gautam shares his unique perspective on automating SharePoint, working with Microsoft 365, and leveraging Microsoft Graph through PowerShell. We discuss practical use cases, best practices, and the significance of PnP PowerShell for modern IT and development workflows. From SharePoint tips to automation strategies, this episode is packed with insights for PowerShell enthusiasts and M365 developers alike. Whether you're just starting or looking for advanced techniques, Gautam provides actionable advice and plenty of inspiration!

Fun

Events

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

0
0 comments