Search for: Practical PowerShell

865 Results

Practical Graph: Including Costs in a Microsoft 365 Licensing Report

This article describes how to include user license costs in a Microsoft 365 tenant licensing report created with the Microsoft Graph PowerShell SDK. The report includes annual costs for all licenses assigned to each user plus an overall licensing summary for the tenant. It even reports how effective the tenant is at assigning licenses!

Continue Reading Practical Graph: Including Costs in a Microsoft 365 Licensing Report

Practical Graph: Report Microsoft 365 Subscriptions and Service Plans

Microsoft 365 subscriptions are what tenants buy to access functionality. The service plans in the subscriptions (product licenses) control what features are available. This article explains how to use PowerShell to generate a report about subscriptions and the service plans in each license.

Continue Reading Practical Graph: Report Microsoft 365 Subscriptions and Service Plans

Practical Graph: Manage Conditional Access Policies

Cmdlets from the Microsoft Graph PowerShell SDK are available to manage conditional access policies. The challenge in using PowerShell rather than the Entra ID admin center GUI is how policy settings are structured. But practice (and some experimentation) makes perfect, as we discuss in this article.

Continue Reading Practical Graph: Manage Conditional Access Policies

Mastering Microsoft 365 PowerShell Scripting

A common question at conferences is how to start with Microsoft 365 PowerShell scripting. We all have our own approach. This article lays out a simple three-step method to write scripts to interact with Microsoft 365 objects.

Continue Reading Mastering Microsoft 365 PowerShell Scripting

Practical Graph: Working with Entra ID Directory Extensions

Directory extensions allow organizations to customize the data stored for Entra ID objects such as users, groups, and devices, You need to create and manage directory extensions with PowerShell. This article explains how to do the job with cmdlets from the Microsoft Graph PowerShell SDK.

Continue Reading Practical Graph: Working with Entra ID Directory Extensions