Quantcast
Viewing all articles
Browse latest Browse all 19214

Adding/removing Additional users with SP1 multivalued property NOT working...

Our 2012 Exchange environment is pretty new, and I am a junior Admin. We are trying to create scripts to add to an admin console for our Level 1/2 support. We have a script (array) to add a manager to a DL (we use security groups for all of our DLs), but the "-=" method isn't working, and upon investigation, they added the ability to use -ManagedBy @{add="";remove=""}. However, no matter what we do, neither method works.

When using the new way with @{, we get the below (note, for the "name" it doesn't matter what we use for the users identity):

[PS] C:\Scripts>Set-DistributionGroup -Identity DLNAME -ManagedBy @{remove="Name"}
All groups must have at least one owner who manages membership, message approval, and other settings for the group. Make sure you assign an owner for this group.
    + CategoryInfo          : NotSpecified: (:) [], RecipientTaskException
    + FullyQualifiedErrorId : A2F70477


Viewing all articles
Browse latest Browse all 19214

Trending Articles