Report Mailbox and OneDrive Size in PowerShell via Microsoft Graph API

Report Mailbox sizes, OneDrive sizes, or all in one, with PowerShell and the MS Graph API In the tutorial below I explain how you can: In the blog post I use PowerShell and the Microsoft Graph API. I built my own modules around the API. I don’t use the official Microsoft PowerShell module. In the … Continue reading Report Mailbox and OneDrive Size in PowerShell via Microsoft Graph API

FIX: Installing Exchange CU multiple errors Active Directory

‘Either Active Directory doesn’t exist, or it can’t be contacted.‘, what? With the Exchange Security updates two weeks ago I got a nice list of errors while updating an Exchange server. I went through the steps and at the last step where Exchange checks if the updates can be installed, I got quite a few … Continue reading FIX: Installing Exchange CU multiple errors Active Directory

FIX: The operation couldn’t be performed because ” matches multiple entries. Exchange

Use the DistinguishedName! I bet an awful lot of Exchange admins have encountered this error in PowerShell: The operation couldn’t be performed because ” matches multiple entries. I got the error using the Get-MailboxRestoreRequest cmdlet, but it doesn’t matter which cmdlet you were using for the solution. The problem often is a guestuser or a … Continue reading FIX: The operation couldn’t be performed because ” matches multiple entries. Exchange

FIX: Creating a new session for implicit remoting of “Cmdlet” command

“Enter your password credentials” is a lie.. Do you dislike it as much as me that after some time you get the error message that you have to re-enter your credentials? “Creating a new session for implicit remoting or ‘Cmdlet ’command” It says: “Enter your password credentials“, but that’s just a lie. Then enter your … Continue reading FIX: Creating a new session for implicit remoting of “Cmdlet” command

How to get all Groups with Members in Exchange Online PowerShell

This post is Part 2/3 of Office 365 groups VS Exchange Online groups. Part 1 – Intro Office 365 VS Exchange Online Part 2 – Exchange Online Groups with members Part 3 – Office 365 Groups with members Exchange Online Groups You need the Exchange Online module for PowerShell.You can find it here. MFA enabled … Continue reading How to get all Groups with Members in Exchange Online PowerShell

How to get all O365 groups with members in Office 365 or Exchange Online with PowerShell

This post is Part 1/3 of Office 365 groups VS Exchange Online groups. Part 1 – Intro Office 365 VS Exchange Online Part 2 – Exchange Online Groups with members Part 3 – Office 365 Groups with members Office 365 or Exchange Online? What’s the difference? It is possible that the number of groups in … Continue reading How to get all O365 groups with members in Office 365 or Exchange Online with PowerShell

Get default calendar name for Mailbox Folder Permisssions Exchange PowerShell

Set-MailboxFolderPermission -Identity [email protected]:\calendar -AccessRights FullAccess At work I have a customer who is spread out over 30 different countries. This also causes some fun issues, such as the time zones, language barrier, or very specifically the calendar folder name in the mailbox has the default language name. In this blog post I will tell you … Continue reading Get default calendar name for Mailbox Folder Permisssions Exchange PowerShell

Is it listed? From Domain, to email, and even IP addresses including the ranges Exchange Online

Is what listed? With the PowerShell script on Github you can find a domain name, email address, and IP address in Exchange Online that is located in one of the following places: Transport rules Anti Spam Policies Anti-Phishing Policies Inbound Connectors Outbound Connectors Connection Filter Policies NEW: Inbox Rules (Briefly explained in Various Choices). The … Continue reading Is it listed? From Domain, to email, and even IP addresses including the ranges Exchange Online

Disable PowerShell for users in Exchange by Bas Wijdenes

Regular users can run PowerShell commands on their own Mailbox I recently found out that PowerShell is enabled by default for all users in Exchange Online including the normal user mailbox. There was a user who had been hacked, and the hacker had placed a forward in the mailbox via PowerShell, but well about this … Continue reading Disable PowerShell for users in Exchange by Bas Wijdenes

See which shared mailboxes are above 50Gb in Exchange Online

Shared mailboxes receive a maximum of 50Gb when no license is assigned Microsoft has always said that a shared mailbox can be up to 50Gb unless you have assigned a license.This is not the case in most tenants and this has always been tolerated by Microsoft.Now they are really going to force this by capping … Continue reading See which shared mailboxes are above 50Gb in Exchange Online