PowerShell

Read articles and blog posts about PowerShell on Practical365.com.

Latest Articles

Practical Graph: Microsoft Launches Entra PowerShell Module

On June 27, 2024, Microsoft launched the preview of the Entra PowerShell module. Built on top of the Microsoft Graph PowerShell SDK, the new module helps organizations that still have PowerShell scripts based on the now-deprecated AzureAD and AzureADPreview modules. If you're in that situation, the Entra module might help. But I recommend using the Microsoft Graph PowerShell SDK instead.

July 1, 2024

TEC 2024 PowerShell Script-Off

TEC 2024 in Dallas (October 1-2) will once again feature the TEC PowerShell Script-Off where coders attempt to come up with the best solutions for challenges set by the judges. The challenges are all Microsoft 365 scenarios (Exchange Online, Entra ID, Teams, and SharePoint Online), so there's nothing unknown about what we'll ask people to code. Come along to TEC 2024 and compete to be the best coder in town!

June 28, 2024

Practical Graph: Report Details of Teams Online Meetings

The arrival of new Teams audit events allows tenants to analyze data about Teams online meetings. However, the data available in the audit events is incomplete, and the only way to get a full picture is through the Graph APIs. This article explains how to find Teams Online meetings in user calendars, extract information about the meetings, and generate an HTML report.

June 26, 2024

Practical Graph: Find Ownerless and Memberless Groups with Graph APIs

Over time, it's likely that some of the groups in a Microsoft 365 tenant will fall into either the category of memberless groups or ownerless groups. Microsoft has a solution to manage ownerless Microsoft 365 groups, but not the other group types supports by the Graph. This article explains how to find and report memberless groups using the Get-MgGroup cmdlet.

June 19, 2024

Experimenting with PowerShell Batching and Parallel Execution

PowerShell Parallel Processing is a mechanism to speed the processing of large quantities of data. In this example, we discuss how to use parallel batches to fetch Entra ID account information using mailbox data to drive information retrieval. Although this is only a demonstration of a technique, it might help those who must process thousands of mailboxes or accounts and would like to do so more quickly.

June 12, 2024