Group’s displayname

A question on the forum asked about setting the value for a group’s displayname attribute. 

When you first create a group using any of the techniques we have seen earlier the displayname property is not set.  You can set it like this

Get-QADGroup -Identity GroupDmlSecA
$group = "GroupDmlSecA"
Get-QADGroup -Identity $group
Get-QADGroup -Identity $group | Set-QADGroup -ObjectAttributes @{displayName = $group}

 

Not sure why you would want to do this as as far as I can tell the displayname is never used for a group – the name showing in AD Users and Computers is the object name (cn attribute) not the display name

One Response to Group’s displayname

Leave a Reply