LazyAdmin

Tips from an other Admin

Manage Office 365 Group Members and Owners with PowerShell

With PowerShell UnifiedGrouplinks cmdlet we can easily manage the Office 365 Group member- and ownerships. The UnifiedGroupLinks cmdlet is part of the Exchange Online PowerShell session. So before we can start adding Office 365 Group Members or change them to Owner we first need to connect to Exchange Online. Connecting to Exchange Online First we need to connect to Exchange Online, you…

Continue Reading →

Wipe Mobile Device with Powershell

When you need to remotely wipe a Mobile Device that’s connected to Exchange Online, you can use Powershell to perform the task quickly. With Clear-Mobile device cmdlet you will remove all data on the device, so this will also delete any photo’s, apps or other personal data on it. To do this we need to connect to Exchange Online, we…

Continue Reading →

Enabling in-place archive for all users with PowerShell

The In-Place Archive that you get with Exchange Online, provides your users with additional storage space. With PowerShell we can enable the archive mailboxes quickly for all users. Connect to Exchange Online First we need to connect to Exchange Online, you can use this connector script or run the following code:

Or with the connector script:

Get a list of users…

Continue Reading →

Setting up Single Sign On (SSO) with Azure AD Connect

With the new version of Azure AD Connect you can enable the Single Sign-On option in combination with either Password synchronization or Pass-through Authentication. When enabled with Modern Authentication for Office 2016 users only have to type their username and do not need to type their password to sign in to Office applications of other cloud services when their machine…

Continue Reading →

Add users to Security and Compliance Retention Policy with Powershell

You may want to add all your users to a Security and Compliance retention policy to preserve all email content when it’s changed or deleted. Unfortunately new users won’t be added to the retention policy, you will have to add them manually. With Powershell it’s possible to get a list of all you Exchange mailboxes and get a list of…

Continue Reading →