Distribution Group in details report


hi,

i'm still new in powershell i'm trying list of users distribution groups , have authority send mails these groups "authorig"

distribution group name | display name | description | members |message delivery restrictions (authorig) | created date

then export result .csv

thanks in advance!


hi sharif,

i think 2 queries. can list of properties via powershell on windows 2008 this:

import-module activedirectory  get-adgroup -filter {groupcategory -eq "distribution"} -properties name,displayname,description,members,whencreated | select name,displayname,description,members,whencreated | export-csv output.csv

you can list of dacls of group this:

set-location ad: (get-acl cn=groupname,ou=orgunit,dc=domain,dc=com").access


---
tompa
http://tompaps.blogspot.com



Windows Server  >  Windows PowerShell



Comments

Popular posts from this blog

CRL Revocation always failed

Failed to query the results of bpa xpath

0x300000d errors in Microsoft Remote Desktop client