Search for: Practical PowerShell

865 Results

The Confused State of Microsoft 365 PowerShell

Microsoft 365 PowerShell is not a single entity. Rather, it spans a mixture of workload-specific modules and the Microsoft Graph PowerShell SDK. When the time comes to write a new script, what should a developer choose to use?

Continue Reading The Confused State of Microsoft 365 PowerShell

How to Set Auto-Reply for Group Mailboxes with PowerShell

Microsoft recently added the ability to set auto-reply for group mailboxes. In this article, we explain why you'd want to do such a thing and go through some PowerShell code to show how to set appropriate auto-reply messages for team-enabled Microsoft 365 Groups.

Continue Reading How to Set Auto-Reply for Group Mailboxes with PowerShell

Performing a Conditional Access Assessment with PowerShell

Conditional access policies grow and change as the tenant grows and changes, but not all of the old policies, groups and assignments are not always tidied up, leaving complex web of policies that target different groups or apps. To gain insights into this mess, I created a PowerShell script to document not just Conditional Access policy settings, but also detail who is impacted by each policy and why.

Continue Reading Performing a Conditional Access Assessment with PowerShell

How to Run Exchange Online Message Traces with PowerShell

Exchange Online message tracing differs from its on-premises equivalent. In this article, we explain the basics of how to trace the path of a message through the Exchange Online transport system, and offer some tips and tricks along the way.

Continue Reading How to Run Exchange Online Message Traces with PowerShell