To receive notifications about scheduled maintenance, please subscribe to the mailing-list You can subscribe to the mailing-list at

Commit 54595e91 authored by Aurel Schwitter's avatar Aurel Schwitter

Move Cn-To-Name converter to dediacted function

parent ef7166ef
......@@ -13,7 +13,7 @@ function Get-ETHMaillistMember {
$membersCn = (Get-ETHMaillist -Identity $Identity).members
foreach ($member in $membersCn) {
$Name = ($member -split ",OU=")[0] -replace "CN="
$Name = Convert-CnToName $member
# determine if the member is a user or a mailinglist
if ($member -like "*OU=EthLists,*") {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment