DCSIMG
create/remove Global Address List - David Dan

David Dan

Microsoft Products and Technologies

create/remove Global Address List

new-GlobalAddressList "Default Global Address List" -RecipientFilter {(Alias -ne $null -and (ObjectClass -eq 'user' -or ObjectClass -eq 'contact' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass -eq 'publicFolder'))}

or create a GAL for the DAN company, run the following command.

New-GlobalAddressList -Name "DAN GAL" -IncludedRecipients MailboxUsers -ConditionalCompany dan

Remove-GlobalAddressList -Identity "DAN" -DomainController ex7k.dan.com

 or delete the gal using "adsiedit"

 for hidden a mailbox use this command:

Set-Mailbox "Mailbox Name" -HiddenFromAddressListsEnabled $true

פורסם: Sep 16 2009, 02:58 PM by dand | with 2 comment(s)

תוכן התגובה

lilikindsli כתב/ה:

RfdZV1 I want to say - thank you for this!

# October 1, 2009 10:34 AM

James כתב/ה:

Thanks for confirming that adsi edit can safely be used to remove a rogue address book as remove-globaladdresslist was not working for one of my GALs

# October 21, 2009 2:52 PM
שלח תגובה

(שדה חובה)  

(שדה חובה)  

(אופציונלי)

(שדה חובה) 

Please add 5 and 8 and type the answer here:


Enter the numbers above: