Some AD 2012 R2 commands does not produce any errors
We migrated from AD 2008 R2 to AD 2012 R2 and after the migration I noticed that commands like Add-ADGroupMember/Remove-ADGroupMember doesn't return any (non- or terminating) errors if the user is already in the group when you try to add it or if the user is not in the group and you try to remove it, there is not even an information in the verbose feed about it, the command just executes normally:
Add-ADGroupMember $group $user -ErrorAction Stop -Verbose
Remove-ADGroupMember $group $user -ErrorAction Stop -Verbose
Normally you get this terminating error if the user is already in the group:
Add-ADGroupMember : The specified account name is already a member of the group
So is this a bug? Did Microsoft tried to fix this so that in the 2012 R2 the error is no longer terminating but something happened and now it's not producing any error or verbose about it. Where is this change documented?
I wish my servers would act like yours!