Compare-ObjectsInVSCode output in VS Code

Compare PowerShell Objects with VS Code

PowerShell’s Compare-Object is great for programmatic comparisons, but VS Code offers a better visual experience for complex objects.

July 4, 2024 · 1 min · Mike Crowley
OneDrive and SharePoint file deduplication report output

OneDrive and SharePoint Online File Deduplication Report | Microsoft Graph API

Learn how to use the quickXorHash property in Microsoft Graph to identify duplicate files across OneDrive and SharePoint Online.

April 20, 2024 · 3 min · Mike Crowley
Azure AD authentication methods

Resetting Azure AD User Passwords with Microsoft Graph PowerShell

Reset-MgUserAuthenticationMethodPassword can be unintuitive. Here’s a working example for resetting Azure AD passwords with password writeback support.

March 24, 2022 · 1 min · Mike Crowley

Azure AD Sign-In Activity Report (Via Get-MgUser)

Learn how to use the new SignInActivity attribute in Microsoft Graph to identify inactive user accounts in Azure AD.

October 28, 2021 · 1 min · Mike Crowley
Send-MgUserMail with multiple recipients

Sending Email with Send-MgUserMail (Microsoft Graph PowerShell)

A practical guide to using Send-MgUserMail for sending emails with attachments via Microsoft Graph PowerShell.

October 27, 2021 · 3 min · Mike Crowley
Print attribute translation between on-premises and cloud

Sample Script to Map Additional Fields to Universal Print Attributes

The Universal Print Connector doesn’t upload location and comments from on-premises printers. Here’s a script to map those fields.

September 25, 2021 · 1 min · Mike Crowley
Send-MgUserMessage result in Sent Items

Using Send-MgUserMessage to Send Email (with Attachments)

A complete example of using Send-MgUserMessage with HTML body and file attachments via the Microsoft Graph PowerShell module.

September 25, 2021 · 2 min · Mike Crowley
Get-AlternateMailboxes PowerShell output

Querying msExchDelegateListLink in Exchange Online with PowerShell

The msExchDelegateListLink attribute isn’t exposed in Exchange Online cmdlets, but you can query it via AutoDiscover using SOAP and PowerShell.

December 8, 2017 · 4 min · Mike Crowley
Cloud PBX phone number selection

Skype for Business Online Cloud PBX: Picking Good Numbers

The Admin Center limits phone number selection. Here’s how to use PowerShell to search the inventory and find more desirable numbers.

March 30, 2016 · 2 min · Mike Crowley
AAD Connect automatic upgrade setting

Enabling/Disabling AAD Connect's Automatic Upgrade Feature

Azure AD Connect 1.1 introduced automatic upgrades. Here’s how to enable or disable this feature and when you might want to.

March 2, 2016 · 1 min · Mike Crowley