IsMember – Check group membership in Active Directory
The PowerShell function “IsMember” checks if the user who runs the PowerShell script is a member of a certain group. This has advantages compared to using Active Directory Service Interfaces (ADSI)....