Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Add Contact to AD Group

$
0
0

Hi All,

I am trying to add a AD contact to a Distribution Group through Powershell

I managed to get the AD Object Contact and Group but when I run the Add-ADGroupMember command it returns an error related to the object Contact

I assume that command can't add a contact to a group, it can add only users,  computers and other groups

Seeking your advice, I'd like to avoid editing the attributes through powershell if there is a better way

Thanks


Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>