The PowerShell 'Filter-Left' Principle and Making Scripts Faster; Converting Synced Users to Entra and the Removal of WMIC
+ Microsoft 365 Copilot Usage Report API General Availability
Hello, fellow PowerShell Engineers! We have yet another great week of PowerShell content and news for you. Thank you for your continued support of the community and this newsletter.
PowerShell Videos
Managing and migrating Macs with Microsoft Intune
TCM Security Academy has a great article on managing and migrating Macs with Microsoft Intune. This post details the processes and considerations for bringing macOS devices under Microsoft Intune management, covering everything from initial setup to full migration strategies.
What Is Regex and How to Use It in PowerShell with MVP Steven Judd
Steven Judd has an interesting video about Regex and how to use it in PowerShell. This PowerShell Wednesday session breaks down what regular expressions are, how they work, and provides instruction on how to use them effectively within a PowerShell environment.
Make Your PowerShell Scripts Faster!
Jeff Brown Tech has a great video about making your PowerShell Scripts Faster. This video provides key performance tips to boost the speed of your scripts by demonstrating how to efficiently handle array addition, suppress unnecessary output, and optimize cmdlet pipelines.
PowerShell Community News
Enable NIC Teaming (LBFO) and Switch Embedded Teaming (SET) in Windows Server 2025
Markus Elsberger has a great article on enabling NIC Teaming (LBFO) and Switch Embedded Teaming (SET) in Windows Server 2025. This post explains that LBFO is blocked for Hyper-V virtual switches in Windows Server 2025, making SET the only supported method for virtualization, and provides step-by-step instructions for configuring both LBFO (for non-Hyper-V use) and SET using the GUI and PowerShell.
Microsoft 365 Copilot Usage Report API General Availability
Tony Redmond has a new article on Microsoft 365 Copilot Usage Report API General Availability. The article discusses the impending general availability of the Copilot usage report APIs, specifically highlighting the value of the Copilot user activity detail API for IT professionals to gain insights by combining it with other Microsoft 365 data, such as Entra ID user data, to manage licenses and assess Copilot adoption across different departments.
Windows 11 25H2’s removal of WMIC and the PowerShell alternative
Harm Veenstra has a great article on Windows 11 25H2’s removal of WMIC and the PowerShell alternative. This post informs users that the WMIC command-line utility is being removed starting with Windows 11, version 25H2, and directs administrators to transition their scripts and tools to use the recommended PowerShell cmdlet, Get-CimInstance, for querying WMI information instead.
Behind the PowerShell Pipeline has a great article on color conversions. This issue is a guide to converting between different color representations in PowerShell, covering how to work with System.Drawing.Color objects, RGB values, and Hex values, which simplifies advanced scripting tasks where colors are needed for cmdlet parameters or custom tools.
https://buttondown.com/behind-the-powershell-pipeline/archive/color-conversions/
How to Convert a Synced User Source of Authority to Microsoft Entra
Daniel Bradley has a great article on how to convert a Synced User Source of Authority to Microsoft Entra. This post explores a new, unannounced capability in the Microsoft Graph PowerShell SDK that allows administrators to convert the source of authority for a hybrid-synced user from Active Directory to Microsoft Entra by setting the isCloudManaged
property to $true
via a PATCH request.
https://ourcloudnetwork.com/how-to-convert-a-synced-user-source-of-authority-to-microsoft-entra/