PowerShell

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

Latest Articles

Disabling PowerShell for Exchange Online Users

Most Microsoft 365 user accounts don't need access to Exchange Online PowerShell. It's an administrative tool that end users don't get much value from. In this article, we explore the best way to disable Exchange Online PowerShell using a script that can run interactively or as a scheduled Azure Automation runbook (the best way for automatic management).

May 15, 2023

How to Use the Extract Sensitivity Labels Graph API

A Graph API is available to extract details of the sensitivity labels assigned to SharePoint Online documents. This article explores how to extract the information from files in a document library and use it to create a report. The nice thing is that once you have the data, you can slice and dice it any way you wish in Excel, Power BI, or whatever tool you prefer.

April 20, 2023

Building your Microsoft 365 PowerShell toolbox

PowerShell is an important tool for any Microsoft 365 Admin – particularly in larger environments. In this article, Sean McAvinue outlines some key tools and concepts to help tenant admins build a ‘toolbox’ for PowerShell to make almost any scripting task easier and more robust.

April 6, 2023

Using Microsoft Translator with PowerShell for Automatic Translation of Sensitivity Labels

Sensitivity labels support local language values, meaning that you can translate the display name and tooltip for labels so that they appear in the language chosen by a user. Most people don't both because it's painfully slow to insert the translated strings for multiple languages. However, when you apply a mixture of PowerShell and the Microsoft Translator service, the task becomes so much easier.

February 28, 2023