Blogs, Articles, and Posts

  • Removing Licenses from Entra ID Accounts When a Replacement License Exists
    License management is a core competence for Microsoft 365 tenant administrators. This article explains how to use PowerShell to remove licenses from accounts when an equivalent service plan is available from another license. It’s the kind of fix-up operation that tenant administrators need to do on an ongoing basis.
  • Sending Urgent Teams Chats with PowerShell
    A reader asked if it is possible to script sending chat messages. In this article, we explore how to compose and send Teams urgent messages to a set of recipients using Microsoft Graph PowerShell SDK cmdlets. The conversation with each recipient is a one-to-one chat that Teams either creates from scratch or reuses (if a suitable one-on-one chat exists).
  • Azure AD: How to set Maximum Devices per User
    The default value of the maximum number of devices per user in Azure AD is 50 devices. That is a lot. If you want to restrict the number of devices then you came to the right place.
  • Configuring NTFS Permissions using PowerShell
    Here are some quick examples on configuring NTFS permissions using PowerShell. The first example is using the takeown.exe and icacls.exe commands driven by PowerShell, and the second example is using the takeown.exe and native Get-Acl and Set-Acl PowerShell cmdlets. Credits: Thanks to Gary Blok for showing me the Get-Acl and Set-Acl PowerShell cmdlets.
  • How to Automatically Update Apps in Intune with Dynamic Win32 App Deployment  
    Greetings, fellow IT admins! Repackaging setup files and editing your Win32 app again can be tedious and time-consuming. Thankfully, I bring you good news! There is a way to deploy a Win32 app and have it always install the latest version of the app on the computer.
  • How to Read Outlook Emails with PowerShell
    Let’s look at how to open, read, and parse emails in a connected Outlook mailbox from within a PowerShell script. Outlook MAPI allows you to directly access the mailbox, list…
  • Azure DevOps Workload Identity & Terraform Authentication
    Azure DevOps supports Workload Identity federation (powered by OpenID Connect) to authenticate to Azure and Azure DevOps from your pipelines for deploying Terraform configurations. Workload Identity federation To follow along with this tutorial, you will need: To follow along with more code examples, check out this GitHub repository:JeffBrownTech/azure-devops-terraform-oidc-examples What is Workload Identity federation?
  • The secret to PowerShell remoting over ssh
    The magic line of configuration to enable PowerShell remoting over ssh.

Projects, Scripts, and Modules

  • Using .NET With PowerShell
    This goal of this post is to explore some .NET classes that may be useful to sysadmins and PowerShell devs without .NET (C#, etc.) experience, with a bit of a deeper dive into some concepts when warranted.
  • tiPS v 1.3.3
    PowerShell tips delivered straight to your terminal. Now with author name for those who submit their own tips.

Books, Media, and Learning Resources

Community

  • The PowerShell and DevOps Global Summit 2024 Bar session 3
    In this episode of the PowerShell Podcast, we continue with our “bar sessions” from the PowerShell and DevOps Global Summit. We gain interesting insights into PowerShell, the Summit, career, and more. Our guests include Chris Masters, Joe Gasper, Rob Derickson, Chris Nguyen, Fred Weinmann, Merill Fernando, Clayton Tyger, Mike F. Robbins, Sean Wheeler, Prasidh Arora, and Danny Maertens.

Events

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