Tag Archives: powershell

How to fix: Get-ADGroupMember : The size limit for this request was exceeded

By | 16th February 2018

Working in a larger Active Directory environment I occasionally got the error:

When trying to read all the members (recursively) of an AD Group. This was annoying since in the alternatives are limited especially when using the -recursive option. You could try with:

or

However these don’t have the recursive option. And… Read More »

Enable DKIM in Office 365

By | 10th November 2017

Microsoft has made it very easy to use DKIM, basically you only need to create two CNAME DNS records and enable DKIM in Office 365. DKIM DNS records To enable DKIM in Office 365 you first need to create two dns CNAME records. The records should look like this:

Where .domain.com is the domain… Read More »

Status: No DKIM keys saved for this domain

By | 11th October 2017

When you want to enable DKIM in your Office 365 environment for a specific domain you might run into the problem that you can’t because the message is saying: “No DKIM keys saved for this domain” What you would expect to see is this, depending on the current state (enabled or disabled): To resolve this… Read More »

The total data received from the remote client exceeded the allowed maximum

By | 7th May 2017

When you have a large environment and you are running a command such as Get-Mailbox -ResultSize Unlimited | Get-MailboxStatistics | select …. you might have seen this error:

  There are a couple of solutions or workarounds. One solution could be to split the command and run it against each database instead and then… Read More »

Add the Exchange PowerShell module into a standard PowerShell session

By | 28th April 2017

You can run Exchange PowerShell command from a regular PowerShell console. To do so you need to do the following: Install the Exchange Management Tools from the Exchange installation media (if you haven’t already done so). Import the Exchange module into your Powershell session The Exchange module you need to import varies per Exchange version.… Read More »