PowerShell

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

Latest Articles

Practical Entra ID: Find Unused Guest Accounts with PowerShell

Given the widespread use of guest accounts within Microsoft 365 to allow external sharing of resources, it’s almost inevitable that some unused guest accounts exist in any Microsoft 365 tenant. Identifying unused guest accounts is a good management practice. If the accounts serve no purpose, why keep them? This article explores how to find unused guest accounts. What you do with them later is up to you.

December 16, 2024

Practical PnP: Managing Site Permissions

Permissions are central to SharePoint Online and it’s important to be able to manage site permissions effectively. In this episode of Practical PnP, we deep dive into site permissions, providing practical examples and use cases that you can apply to your environment.

December 2, 2024

Practical Compliance: Using Purge Actions to Remove Mailbox Items

Compliance search purge actions are Microsoft's search and purge tool. Today, a purge action is limited to removing 10 items per mailbox. Microsoft is increasing the limit to 100 as part of its eDiscovery modernization project. This article reviews the state of the art for using PowerShell to purge mailbox items and contemplates how purges might work after modernization finishes.

October 21, 2024

A New Version of the Room Mailbox Statistics Script

The room mailbox statistics script has proven to be a popular script downloaded and used by many to analyze the usage patterns of room mailboxes. Recently, a reader pointed out that the Graph API request to fetch workspaces didn't work. Microsoft has changed the Places resource and the request now needed to run against the beta endpoint. All of which brought me to rewrite the script using the Graph SDK.

October 1, 2024