Mark
asked on
Powershell Script to List Domain Admins with Mailboxes in Exchange 2010
Hi,
Do you know Powershell command or script I can use to list Domain Admins with Mailboxes in Exchange 2010
Best Regards,
Mark
Do you know Powershell command or script I can use to list Domain Admins with Mailboxes in Exchange 2010
Best Regards,
Mark
ASKER
Hi thanks for that but will the PowerShell command also show that the Group member also has a Mailbox?
You can try this one
This will work if all members has mailbox
$mailboxes = @(Get-ADGroupMember "Domain Admins" | ForEach-Object { get-mailbox $_.distinguishedname })
This will work if all members has mailbox
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Mahesh, does the Power Shell script can be executed on Exchange 2013 or 2016 as well ?
The script can be executed from any server where AD PowerShell module is available
So does your exchange servers also have ad PowerShell module so you can execute from there as well
So does your exchange servers also have ad PowerShell module so you can execute from there as well
You will get Domain admin, Group name in DC and Last Logged time
Open in new window