I really appreciate your understanding for the missed edition last week. To make up for it, this week’s issue is packed with even more tips, insights, and updates to level up your PowerShell skills.
Blogs, Articles, and Posts
- Final Days for the MSOnline and AzureAD PowerShell Modules
After many twists and turns since August 2021, the MSOnline module retirement will happen in April 2025. The AzureAD module will then retire in the 3rd quarter. It’s way past time to upgrade PowerShell scripts. The question is whether to use the Entra module or the Microsoft Graph PowerShell SDK. I know which option is best and say why in this article. - PowerShell: How to execute PowerShell Scripts (*.ps1) on Remote Computers
PowerShell scripts can be executed locally or remotely. In this article I will show how scripts can be executed remotely. - Update to Entra FIDO Key Attestation Database
What other keys are you looking to gain compatibility? - VS Code extension Cline: AI-automated scripting and CLI administration – A PowerShell example
In a previous post about the new AI features in the Warp terminal, I suggested that AI interfaces would eventually replace the CLI and facilitate the automation of script generation. The Cline extension for Visual Studio Code is a significant step in this direction, allowing you to create scripts using natural language, execute them with AI support in the terminal, rely on AI to analyze shell output and respond to errors. While the extension supports various shells, I’ll demonstrate how to utilize Cline to automate PowerShell administration. - Harnessing AI in PowerShell: Create a multi-model command-line AI assistant (Part 1)
AI is virtually inescapable these days. From annoying website chat bots to the assimilation of the Microsoft product portfolio by Copilot, AI has been busy spreading its tentacles every which way it can. I must be honest – I’ve never been a fan of it. That is, until I started using GitHub Copilot. - Find Groups with Disabled Users in Microsoft 365
Offboarding users in Microsoft 365 involves more than just blocking sign-ins; there’s a hidden complication that many overlook. Disabled accounts tied to groups hinder group management by inflating group sizes, making it harder to track active members and maintain compliance with access policies. - Fixing Windows 11 24H2 – No Internet Access Issue using PowerShell and Intune Remediation
There are articles and forum posts from people who upgraded to Windows 11 24H2 and are experiencing Wi-Fi issues. In this blog post, I will show you an Intune Remediation script that might fix the problem for your devices. - Powershell - Testing network connectivity and port accessibility
Testing network connectivity and port accessibility with Powershell - List all directory objects owned by a user in Entra with PowerShell
Learn how to use Microsoft Graph PowerShell to list all directory objects, such as apps and groups a user owns in Microsoft Entra. - PowerShell based Terraform Bootstrap Script
Create a PowerShell script to bootstrap Terraform, handle installation, create project directories, and automate deployments across Windows, Mac, and Linux. - Terminal profiles in IDEs
I spend a significant part of my work day in a terminal. That’s why I have it configured to suit my needs with a collection of several useful modules which I occasionally still extend. Although all IDEs I regularly use feature an integrated terminal which opens in repository root by default, I rarely used them because they didn’t match my configuration. So I decided to check if there was a way to make them use my default PowerShell profile.
Continued in the comments…
Check out psweekly.dowst.dev for all past editions as well as a searchable archive.
You must log in or register to comment.
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. - Creating a ConfigMgr (SCCM) Bootable Media – PowerShell Style
Here is a PowerShell script that will create Bootable Media for ConfigMgr. - pipEnv v 0.1.2
Unofficial installer, runner and utilities for pipenv.
Books, Media, and Learning Resources
- PowerShell 101: Creating a Real-World Module: Scaffolding Functions
Learn how to create powerful PowerShell modules from scratch by building a computer inventory tool. Perfect for sysadmins who need custom automation solutions. - PowerShell Universal + dbatools!
Join me as I show off how to use PowerShell Universal to create APIs using dbatools to get at your SQL Instance and databases information.
Community
- PowerShell Changed My Life… with Adam Bacon.
In this episode of the PowerShell Podcast, Andrew catches up with returning guest Adam Bacon. Adam shares an update on his career and shares how PowerShell has played a huge role in helping him accomplish his dream. - The Art and Science of PowerShell Module Development with Fred Weinmann
In this episode of the PowerShell Podcast, we sit down with Fred Weinmann, a prolific PowerShell module creator, to explore his remarkable contributions, including PSFramework, PSModuleDevelopment, PSUtil, and PSFramework.Nuget. Fred shares insights on developing impactful solutions, such as the KRBTGT module and the evolution of module development in large-scale environments.
Events
- PowerShell + DevOps Global Summit 2025
April 7-10, 2025 Bellevue, WA
- All About the Office 365 for IT Pros GitHub Repository