PowerShell Weekly for Nov 17, 2023 - eviltoast

Announcements!

Blogs, Articles, and Posts

  • Speeding up PowerShell module development with RestartableSession
    Let’s assume you are developing a PowerShell module. You would add small modifications to the module and test if they work as expected iteratively. In each iteration, after you edit the module code, how do you test the modification?
  • Security Update: PowerShell Universal CVE TBD
    Learn about CVE TBD in PowerShell Universal.
  • Best Practices Make Perfect
    Over the last several weeks, I’ve been sharing and demonstrating techniques for writing effective PowerShell functions. I know I’ve mentioned a few recommended best practices. But since they are important, I want to review and re-emphasize them. These practices will make your code easier to write, debug or troubleshoot and more secure. I’d like to think some of them are simply common sense, but sometimes we need someone to remind us. These items are not in any particular order.
  • Building a Notion PowerShell Module: Part 3
    Learn the next steps of building a PowerShell Notion module in this in-depth PowerShell tutorial by ATA Learning!
  • Customizing the Microsoft 365 User Profile Card with the Microsoft Graph PowerShell SDK
    This article describes how to use the Microsoft Graph PowerShell SDK to customize the user account properties shown by the Microsoft 365 user profile card. Previously this was possible using a Graph API request to the beta endpoint. Now everything is in production and Graph SDK cmdlets are available to make customization a tad easier.
  • PowerShell: Search for Empty Folders (and delete them)
    We live in times of Big Data. Too much data in too short a time. You may have empty folders in your environment and if you want to search for them
  • Azure Arc-enabled servers: Automate scripts with Bicep & Azure DevOps
    Azure Arc empowers you to extend Azure management and services to any infrastructure. One powerful way to leverage Azure Arc is by automating script execution
  • Using Power Automate and Azure Automation to Manage the Lifecycle of SharePoint Sites
    A key aspect of a well-managed Microsoft 365 environment is to ensure that SharePoint sites are removed when they are no longer needed. In this blog, Sean McAvinue explores how to combine relatively basic PowerShell and Azure Automation skills with Power Automate to create a clean, robust way to manage the lifecycle of SharePoint sites in your Microsoft 365 tenant.

Projects, Scripts, and Modules

  • PSZoom v 2.0.4.2
    A collection of Powershell tools to interface with the Zoom Api.
  • Get Microsoft 365 License Usage Count Using PowerShell
    Keeping an eye on the available licenses in your Microsoft tenant is essential to ensuring you and your users have what is needed to keep the business running. Whether you assign licenses directly or you use Group Based Licensing

Community

  • Emil Larsson: Creating Communal Tech Waves with PowerShell
    In this episode of the PowerShell Podcast, we had Emil Larsson join us! We had a healthy amount of community blogs in this episode, with lots of great conversation all throughout. We discussed how helpful contributing to PowerShell docs can be. We learned about Emil’s evolution with PowerShell and how the industry has changed in his 10+ years of experience. Emil and Andrew revisited their early IT days of grappling with upgrades from Windows XP to Windows 7, making all of us a bit nostalgic. We also had a fair bit of discussion around what the PowerShell community is all about.

Fun

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