Prolog Recently, I have been getting inquiries from customers, who have the following scenario: The environment was originally an on-premises infrastructure. Then the customers have decided to switch to Office 365 and implemented this step as follow: The AAD was configured to sync the user accounts to the cloud, but without the Exchange attributes. […]
In the first part of this series, I described how you can add and remove members to and from Active Directory groups in PowerShell, without using the ActiveDirectory module, but just by using the .Net namespace System.DirectoryServices.AccountManagement. In this part I want to show how you can work with the members of a group, as […]
A few days ago, I had to configure a few mailboxes for enabling message copy while sending. However, this is not the point at this moment. When I ran the PowerShell command, I got the following output: The error says that this command only works for user or shared mailboxes. In the first moment, […]
The most popular way to manage Active Directory with PowerShell is to use the cmdlets provided by the PowerShell module ActiveDirectory. Most of you probably know some of these cmdlets and have already used them quite a bit. If so, you probably also know that this module is only available after you install the Active […]