I have a list of security groups in AD, I need to עo through line by line and get the e-mail address of every group
I tried with get-ADgroup, but I can't find this filed in this command
need help with this issue.
Looks like it's one of those things you have to specifically request or it won't be returned:
$gname = "your group name";
(get-ADGroup $gname -properties mail).mail
Hello,I've got a one step further issue, I need to create a list of all the AD Security groups with email and memebers. Any advice.