I can't get the following properties to work :/
mail
mailNickname
name
cn
dn
The reason behind this is because we are going to be renaming every object in our AD (thousands of groups), and i need all properties to be changed.
been reading Quest everywhere however they only take up displayName as an example and nothing more advanced.
I've gotten the following to work though:
get-QADGroup -SearchRoot 'ex.local/' -LdapFilter '(samaccountname=test_group*)' -GroupType 'Distribution' -IncludedProperties "displayName", "mailNickname", "name", "mail" | foreach-object {
Set-QADGroup $_ –displayName ("new_displayname")
}