1
This is the final edition of PowerShell Weekly for 2024. Since this newsletter is hand-curated, I always take the last week of the year off to rest and reflect. I’ll return in the New Year with fresh content and my annual year-in-review, covering all the major PowerShell highlights from 2024.
Announcements!
- Announcing a free GitHub Copilot for VS Code
We're excited to announce an all new free plan for GitHub Copilot, available for everyone today in VS Code. All you need is a GitHub account. No trial. No subscription. No credit card required.
Blogs, Articles, and Posts
- Processing Microsoft 365 Retention Labels with the Microsoft Graph PowerShell SDK
Two types of retention labels are in use: Microsoft 365 retention labels and MRM retention tags. Clients hide the difference, but the Microsoft Graph PowerShell SDK cmdlets can only process Microsoft 365 retention labels for files stored in SharePoint Online and OneDrive for Business. EWS can manage MRM retention tags, but it's on a fast path to retirement in 2026. - Complete Guide to Automate the Microsoft Intune Daily Tasks using of Graph X Ray
This guide will help you to automate your Intune daily task with using Graph X Ray. This article will teach us how to use effectvly use Graph X-Ray to automate the Microsoft Intune Tasks. - How to Use PowerShell Get-Date Cmdlet?
In this tutorial, I will explain how to use the PowerShell Get-Date cmdlet to work with dates and times in your scripts. The Get-Date cmdlet allows you to retrieve the current date and time, format dates, and perform date calculations. As a system administrator or a developer, you should know how to use Get-Date - Practical Graph: Understanding What Happens When the Connect-MgGraph Cmdlet Runs
This article describes what happens when the Connect-MgGraph cmdlet runs in interactive and app-only sessions with the Microsoft Graph PowerShell SDK. A session is created and a context is established, and it's possible to use the session context to do real work. - Try to Catch PowerShell Error Handling
A guide to handling errors within PowerShell and the best approach
Projects, Scripts, and Modules
- PowerShell-Hunter
PowerShell tools to help defenders hunt smarter, hunt harder.
Books, Media, and Learning Resources
- PowerShell Universal Christmas Edition - Adam Driscoll & Constantin Hager
In this lecture, Adam Driscoll and Constantin Hager guide the audience through the PowerShell Universal Christmas edition, demonstrating the latest features and functionalities of version 5.1. The session is organized into two main demos, focusing on practical applications of PowerShell and how attendees can utilize these updates in their own projects. The first half of the presentation features Constantin who shares his user management application, utilizing the Request API to query and display user data in a seamless table format.
Community
- Miriam Wiesner on Identity Hygiene, Security Tools, and Finding Balance
In this episode of the PowerShell Podcast, we sit down with Miriam Wiesner, a Senior Security Research Program Manager at Microsoft, to dive into the fascinating world of security and identity hygiene. Miriam shares her expertise on the GraphAPI and the critical importance of maintaining proper identity hygiene in today's digital landscape.
Events
- PowerShell + DevOps Global Summit 2025
April 7-10, 2025 Bellevue, WA
Check out psweekly.dowst.dev for all past editions as well as a searchable archive.