Powershell
Search Content in Microsoft Purview
Use Case: If an email was sent in error or a malicious email has been sent to a large number ...
Show Mailbox Rules for a Mailbox
Prerequisites: Connect to Exchange Powershell Get the rules for a mailbox Get-InboxRule -Mail...
Connect to Exchange Powershell
Prerequisites: Install Exchange Powershell To connect to Exchange Powershell with Multi-Factor A...
Grant Purview Export Permission
When exporting the results of a Microsoft Purview Content Search, the user must have the permissi...
Connect to Security and Compliance Powershell
To connect to the Microsoft 365 Security and Compliance Powershell: Open a Powershell Window ...
Exchange Mailbox Statistics
Get size, date or FolderId for folders in an Exchange Mailbox. Get-MailboxFolderStatistics -Iden...
Connect to Sharepoint
Connect to the Sharepoint Powershell Connect-SPOService -Url https://example-admin.sharepoint.co...
Get Intune Managed Device Information
To get device information for Intune managed devices, use the Get-MgDeviceManagementManagedDevice...
Manually Sync macOS Device with Intune
In Company Portal, click the ellipses and Check Status or press command+option+S. To trigger ...
Change Intune macOS Personal Ownership to Company
Get-MgDeviceManagementManagedDevice -All | Where-Object {$_.ManagedDeviceOwnerType -eq "unknow...