26
Announcements!
- Deprecation of MSOnline
Just a reminder that MSOnline versions prior to v1.1.166.0 will stop working in 1 week. - v7.4.3 Release of PowerShell
Come get the latest and greatest - v7.2.21 Release of PowerShell
Get the latest LTS release
Blogs, Articles, and Posts
- Using PowerShell to Post Channel Messages with Teams Workflows
The incoming webhook connector is a popular method to post information to Teams channels, but Microsoft seems set on retiring the Office connectors. The Teams post to channel workflow when a webhook request is received seems like is a possible replacement, but it's not just a matter of switching mechanisms. Some PowerShell magic is needed to create a suitable adaptive card to post to the channel, which is exactly what we explain how to do here. - Working with Calendar Permissions using the Microsoft Graph PowerShell SDK
The Set-MailboxFolderPermission cmdlet is usually used to set calendar permissions, including the permission for the default user to allow everyone in an organization to see each other’s calendars. But you can use cmdlets from the Microsoft Graph PowerShell SDK too. The Graph SDK cmdlets are faster, but not enough to warrant replacing the Exchange cmdlet in scripts. We explain why here. - Automate Azure DevOps Work Item Updates with Azure Functions and the Azure DevOps API
I use Azure DevOps Boards for agile project management, allowing me to plan, track, and discuss automation and DevOps tasks. I also create reporting dashboards from the data within the work items. One such metric I report on is how much time we save when implementing a new automation. - How to check if an Azure Marketplace image is marked for deprecation
How to check if an Azure Marketplace image is marked for deprecation. - How to Add or Remove Pinned Folders to Quick Access with PowerShell and GPO
Windows File Explorer has a separate panel that displays a list of favorite folders and locations called Quick Access. Many users and administrators unjustly ignore this handy Windows tool - How to Split a String by Length in PowerShell?
When you need to split a string by a specific length, PowerShell offers various methods to do it. This PowerShell tutorial explains various methods to split a string by length in PowerShell To split a string by length in PowerShell, you can use a loop with the Substring method to iteratively extract parts of the string - Using Measure-Command and Measure-Object in PowerShell
Measuring is always a good idea for grasping things, such as how long it sometimes takes, how many objects there are in a specific directory, how much space something takes up on a hard drive, etc. In this blog post, I will show you how the Measure-Command and Measure-Object cmdlets work and how you can use them to your advantage. - How to disable per-user MFA using Microsoft Graph PowerShell
Learn how to use Microsoft Graph PowerShell to disable per-user MFA in Microsoft Entra to support migration to Conditional Access.
Projects, Scripts, and Modules
- Version 1.9 of the Microsoft 365 Licensing Report
The Microsoft 365 Licensing Report is a popular PowerShell script that's just been updated to V1.9 with a bunch of changes to highlight different aspects such as license costs for disabled user accounts and inactive user accounts. Copious use of some very dubious color choices makes the HTML report created by the script look very nice (if you're color blind) and the new version can generate an Excel worksheet. - PowerShellRun v0.7.0
In PowerShellRun v0.7.0, you can now add script blocks and script files as entries. If you are managing many PowerShell scripts, PowerShellRun will help you create a TUI script launcher.
Books, Media, and Learning Resources
- Monitor Your Network with PowerShell [OC]
In this video you’ll see the full process I went through to create a script to monitor up and down times for my network. - Managed Identity With PowerShell And Azure Automation Accounts
Join me in creating an automation account and using managed identity to connect to Azure, ExchangeOnline and Graph in this practical powershell example where we'll discuss how to connect, how to add permissions to a service principal and also a little bonus tip on how to get an access token for graph using Az and managed identity with the Get-AzAccessToken cmdlet.
Community
- Andrew Celebrates & Previews psconf.eu with Christian & Bjorn
In this episode of the PowerShell Podcast, Andrew starts things off by celebrating his new Microsoft MVP. Then, we hear about all things psconf.eu and what to expect from Christian Ritter and Björn Sundling at PSConf EU. We hear some of the juicy details and key takeaways from their sessions. Then we get an update on some of their projects like PSClippy, AzDM, PSSecretScanner, and much more!
Check out psweekly.dowst.dev for all past editions as well as a searchable archive.