PowerShell and AD groups best combination

In daily life there are a lot situation where you have to copy members of AD groups, or checking if someone is member of an AD group. Therefore I created this blogpost to provide a small assistance doing this tasks via powershell. Function to check user Group Membership Here is a short function checking if …

Exchange Online: see mailboxsize and added mobile devices with PowerShell

Lot of customers ask me if it is possible to get a statistic of mailbox size in Exchange Online. I say, of course it’s possible with PowerShell. Some time ago I created a short script to get sizes as output to shell. Not that usable. The last days I spent some time to create a …

Bulk change UserPrincipalName in Active Directory via PowerShell

Getting things ready for cloud migration or anything different, lot’s of companies need to change their users UPNs. As consultant I had to do that several times, therefore I wrote some lines of PowerShell code, to manage this. It’s not that difficult, but for documentation my script also creates a CSV file with the UPNs …

Check if Azure AD Users exists PowerShell function

When scripting with cloud users in AzureAD some people might ask how to check if an Azure AD user is available or not. I also had to challenge this scenario while scripting for a customer. After this I thought this is something many people may need. So here is my solution with some explanation to …

Exchange Online PowerShell V2 use cases and small tutorial

Dealing with PowerShell is a great thing, especially if you have to administer a large and dynamic organization. Let’s spend some time to learn some default use cases lot of exchange admins have to do. In this article I’m showing a various combination of different PowerShell cmdlets, with special focus in the new Exchange Online …