Link to home
Start Free TrialLog in
Avatar of Albert Widjaja
Albert WidjajaFlag for Australia

asked on

Powershell to Manually enabling Distribution group to Exchange email enabled DG ?

I had this question after viewing Manually creating email Distribution Group - Universal does not showing up on Exchange Groups control panel ?.

Hi All,

Can anyone here please suggest what's the Powershell script to enable the existing AD distribution group so that my Outlook users can use it as soon as possible?

I've created multiple DG from Active Directory Console:

Domain.com/Payments/Distribution Groups/Product Support
Domain.com/Payments/Distribution Groups/System Support
Domain.com/Payments/Distribution Groups/All Support Team

But somehow it does not appear in the Exchange Control Panel yet, nor the Outlook GAL after 48 hrs+ of waiting.

What's the PowerShell command to push the update to the GAL as well ?

Thanks,
SOLUTION
Avatar of Amit Kumar
Amit Kumar
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Albert Widjaja

ASKER

Hi Amit,
The DG has been created with 75+ members and some details updated on it, I just want to enable it as Email Dg, not creating everything from the scratch.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks Chris,
So in my case here I was not able to execute the command even with the -Identity parameter input as Distinguished Name.

I've also tried using the Display Name using double quote but not working either.
Error message?
like this one:
 Microsoft.PowerShell.Core\FileSystem::\\PRODFX01-VM\\My Documents>The operation couldn't be performed because object 'Domain.com/Payments/Distribution Groups/Product Support' couldn't be found on 'PRODDC26-VM.Domain.com'.
    + CategoryInfo          : NotSpecified: (:) [Get-DistributionGroup], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : [Server=PROD-EX01,RequestId=66586ae7-470e-4f80-bc19-422edfb69db8,TimeStamp=16/05/2017 2:12:16 AM] [FailureCategory=Cmdlet-ManagementObjectNotFoundException] 83AA4985,Microsoft.Exchange.Management.RecipientTasks.GetDistributionGroup
    + PSComputerName        : PROD-EX01

Open in new window

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes it is Universal.
I passed it in form of DN.
Thanks guys !
It works after few hours of waiting.