Richard Siddaway's Blog

Group’s displayname

with one comment

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

Written by richardsiddaway

February 28th, 2012 at 3:41 pm

One Response to 'Group’s displayname'

Subscribe to comments with RSS or TrackBack to 'Group’s displayname'.

  1. I think SharePoint uses the display name. If there is none it uses domain\samaccountname(domain\samaccountname). Really ugly.

    Keith

    28 Feb 12 at 4:20 pm

Leave a Reply

You must be logged in to post a comment.