Dynamic Distribution Group exporting incorrectly from GUI preview
Why the preview data via GUI is different from shell? [PS] C:\scripts>$NJ = Get-DynamicDistributionGroup -Identity "NJOffice" [PS] C:\scripts>write-output $nj.recipientfilter (RecipientType -eq 'UserMailbox' -and -not(Name -like 'SystemMailbox{*') -and -not(Name -like 'CAS_{*') -and -not(Recip ientTypeDetailsValue -eq 'MailboxPlan') -and -not(RecipientTypeDetailsValue -eq 'DiscoveryMailbox') -and -not(Recipient TypeDetailsValue -eq 'ArbitrationMailbox')) Under GUI I have set Filter tab as Only Mailbox (with recipient container selected for a specific OU) and under conditions if I do preview the data shown different from above. Please help.
February 10th, 2011 2:42pm

Hi Mr.Kris, It is expected. There is other propertity of the ddg called recipientcontainer to limit the scope. And the recipientfilter just meet the recipient types in the filter. Regards! Gavin TechNet Subscriber Support in forum If you have any feedback on our support, please contact tngfb@microsoft.com Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
February 11th, 2011 4:14am

Gavin, So how can I extract e-mail id from GUI criteria? I need to run these shell comannd once a month for HR to view it. Thanks
February 11th, 2011 2:57pm

Hi Mr.Kris, Please try as below: $a= Get-DynamicDistributionGroup -Identity ddg get-mailbox -filter $a.recipient -organizationalunit OUname |fl name Regards! Gavin TechNet Subscriber Support in forum If you have any feedback on our support, please contact tngfb@microsoft.com Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
February 16th, 2011 5:05am

Throws an error: Cannot validate argument on parameter 'Filter'. But here's what I changed it to: $a= Get-DynamicDistributionGroup -Identity ddg Get-Recipient -filter $a.recipientfilter -OrganizationalUnit OUname | Select DisplayName, PrimarySmtpAddress
February 18th, 2011 3:00pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics