Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Exchange HAB creation

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Hierarchical address Book (HAB) is a feature in Microsoft Exchange Server and Microsoft Outlook that enables end users to browse recipients in their Exchange organizations through organizational hierarchies. In most Exchange deployments, users are limited to the default global address list (GAL) and its associated recipient attributes. In addition, the structure of the GAL usually does not accurately reflect the management or seniority relationships between recipients in the organization. Custom HAB can reflect the unique business structure of the company, which can provide users with an efficient way to find internal recipients.

This section will implement:

1. Describe what is a hierarchical address book

2. Enable hierarchical address book

3. Configure hierarchical address book

In HAB, the root organization (for example, Contoso, Ltd) is used as the top level. Below this top level, you can add several sublayers to create a custom HAB divided by division, department, or any other organizational layer to be specified, so that the enterprise organizational structure can be directly reflected in the address book for better recipient management.

Powershell command:

# create hierarchical address book for Exchange 2013 # add management module Add-PSSnapin Microsoft.Exchange.Management.PowerShell.SnapIn# create OU to store hierarchical address book information Create a new OUNew-ADOrganizationalUnit-Name HABNew-ADOrganizationalUnit-Name management layer named "HAB" under the root OU in the domain-Path "OU=HAB,DC=CONTOSO,DC=COM" New-ADOrganizationalUnit-Name management layer 01-Path "OU= management, OU=HAB,DC=contoso,DC=com" New-ADOrganizationalUnit-Name management 02-Path "OU= management, OU=HAB,DC=contoso,DC=com" New-ADOrganizationalUnit-Name personnel-Path "OU=HAB,DC=CONTOSO,DC=COM" New-ADOrganizationalUnit-Name sales-Path "OU=HAB,DC=CONTOSO DC=COM "New-ADOrganizationalUnit-Name Technology Department-Path" OU=HAB,DC=CONTOSO,DC=COM "New-ADOrganizationalUnit-Name Development Group-Path" OU= Technology Department, OU=HAB,DC=CONTOSO,DC=COM "New-ADOrganizationalUnit-Name Operation and maintenance Group-Path" OU= Technology Department, OU=HAB,DC=CONTOSO,DC=COM "# create distribution group Create the headquarters Company group This group will serve as the "root" New-DistributionGroup-Name "Contoso,Ltd"-DisplayName "headquarters company"-Alias "ContosoRoot"-OrganizationalUnit "contoso.com/HAB"-SamAccountName "ContosoRoot"-Type Distribution-IgnoreNamingPolicy# to designate Contoso,Ltd as the root Set-OrganizationConfig-HierarchicalAddressBookRoot "Contoso of HAB. Ltd "# create management under the root branch (management 01, management 02), personnel, sales, Technical Group (Distribution Group)-aims to plan the basic organizational structure # department # headquarters Company # Dep01 Management # Dep02 Management 01 zhangsan # Dep03 Management 02 # Dep04 personnel Department # Dep05 sales Department # Dep06 Technology Department # Dep07 Development Group # Dep08 operation and maintenance group New-DistributionGroup-Name "Dep01"-DisplayName "management"-Alias "department01"-OrganizationalUnit "Contoso.com/HAB/ management"-SamAccountName "department01"-Type Distribution-IgnoreNamingPolicyNew-DistributionGroup-Name "Dep02"-DisplayName "management 01"-Alias "department02"-OrganizationalUnit "Contoso.com/HAB/ management / management 01"-SamAccountName "department02"-Type Distribution-IgnoreNamingPolicyNew-DistributionGroup-Name "Dep03"-DisplayName "Management 02"-Alias "department03"-OrganizationalUnit "Contoso.com/HAB/ Management / Management 02"-SamAccountName "department03"-Type Distribution-IgnoreNamingPolicyNew-DistributionGroup-Name "Dep04"-DisplayName "personnel Department"-Alias "department04"-OrganizationalUnit "Contoso.com/HAB/ personnel"-SamAccountName "department04"-Type Distribution-IgnoreNamingPolicyNew-DistributionGroup-Name "Dep05"-DisplayName "sales Department"-Alias "department05"-OrganizationalUnit "Contoso.com/HAB" / sales Department "- SamAccountName" department05 "- Type Distribution-IgnoreNamingPolicyNew-DistributionGroup-Name" Dep06 "- DisplayName" Technical Department "- Alias" department06 "- OrganizationalUnit" Contoso.com/HAB/ Technical Department "- SamAccountName" department06 "- Type Distribution-IgnoreNamingPolicyNew-DistributionGroup-Name" Dep07 "- DisplayName" Development Group "- Alias" department07 "- OrganizationalUnit" Contoso.com/HAB/ Technical Department-SamAccountName "department07"-Type Distribution-IgnoreNamingPolicyNew-DistributionGroup-Name "Dep08"- DisplayName "Operation and maintenance Group"-Alias "department08"-OrganizationalUnit "Contoso.com/HAB/ Technology Department"-SamAccountName "department08"-Type Distribution-IgnoreNamingPolicy# make the distribution group a hierarchical group (HierarchicalGroup hierarchical group) Set-Group-Identity "Dep01"-IsHierarchicalGroup $true-SeniorityIndex 100Set-Group-Identity "Dep02"-IsHierarchicalGroup $true-SeniorityIndex 99Set-Group-Identity "Dep03"-IsHierarchicalGroup $true-SeniorityIndex 98Set-Group-Identity "Dep04"-IsHierarchicalGroup $true-SeniorityIndex 97Set-Group-Identity "Dep05" -IsHierarchicalGroup $true-SeniorityIndex 96Set-Group-Identity "Dep06"-IsHierarchicalGroup $true-SeniorityIndex 95Set-Group-Identity "Dep07"-IsHierarchicalGroup $true-SeniorityIndex 94Set-Group-Identity "Dep08"-IsHierarchicalGroup $true-SeniorityIndex 9 members according to the company's actual structure to add sub-level members Add-DistributionGroupMember-Identity "ContosoRoot"-Member Dep01Add-DistributionGroupMember-Identity "ContosoRoot"-Member Dep04Add-DistributionGroupMember-Identity "ContosoRoot"-Member Dep05Add-DistributionGroupMember-Identity "ContosoRoot"-Member Dep06# will be management 01, 02 add to the sub-node of the management sub-level Add-DistributionGroupMember-Identity "Dep01"-Member Dep02Add-DistributionGroupMember-Identity "Dep01"-Member Dep03Add-DistributionGroupMember-Identity "Dep06"-Member Dep07Add-DistributionGroupMember-Identity "Dep06"-Member Dep08# to set the user ranking premise is to create a user mailbox Set-User-Identity "zhangsan@contoso.com"-SeniorityIndex 10 update offline address book Get-AddressList | Update-AddressListGet-GlobalAddressList | Update-GlobalAddressListGet-OfflineAddressBook | Update-OfflineAddressBook

Run the results.

Command to view the creation results.

Get-DistributionGroupMember-Identity "ContosoRoot" Get-DistributionGroupMember-Identity "dep01"

View the creation results on the client side.

END, so the Exchange 2013 hierarchical address book is complete.

Reference: https://technet.microsoft.com/zh-cn/library/ff629379.aspx

Attachment: http://down.51cto.com/data/2366998

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report