Active Directory

.NET Assemblies In PowerShell – Part 2: Manage Active Directory group members and user accounts

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 …