建立離線通訊錄虛擬目錄Create an offline address book virtual directory

OAB 虛擬目錄是通訊的 oab。根據預設,Microsoft Exchange Server 安裝時,新增名為 OAB 虛擬目錄建立預設內部網站在網際網路資訊服務 (IIS) 中。如果您有連線至 Microsoft Outlook 從組織防火牆外的用戶端的使用者,您可以新增的外部網站。或者,當您在命令介面中執行New-oabvirtualdirectory cmdlet,在本機 Exchange 伺服器上的預設 IIS 網站中會建立名為 OAB 新虛擬目錄。The OAB virtual directory is the distribution for the OAB. By default, when Microsoft Exchange Server is installed, a new virtual directory named OAB is created in the default internal website in Internet Information Services (IIS). If you have client-side users that connect to Microsoft Outlook from outside your organization's firewall, you can add an external website. Alternatively, when you run the New-OABVirtualDirectory cmdlet in the Shell, a new virtual directory named OAB is created in the default IIS website on the local Exchange server.

建立 OAB 虛擬目錄並非一般工作。Exchange 允許將一個 OAB 虛擬目錄命名為 OAB,且您應僅可於現有 OAB 虛擬目錄出現問題且前一個 OAB 虛擬目錄遭移除時才可建立 OAB 虛擬目錄。Creating an OAB virtual directory isn't a common task. Exchange allows for one OAB virtual directory named OAB, and you should create an OAB virtual directory only if there is a problem with the existing OAB virtual directory, and the previous OAB virtual directory was removed.

如需與 OAB 相關的其他管理工作,請參閱離線通訊錄程序For additional management tasks related to OABs, see Offline address book procedures.

重要

在建立 OAB 虛擬目錄之前,請確定您的使用者會察覺可讓您的變更。此程序可能會中斷 OAB 下載程序的使用者。Before you create an OAB virtual directory, make sure that your users are aware of the changes you are making. This procedure may interrupt the OAB downloading process for your users.

開始之前有哪些須知?What do you need to know before you begin?

  • 每項程序的預估完成時間:5 分鐘。Estimated time to complete each procedure: 5 minutes.

  • 您必須獲得權限才能執行此程序或程序。若要查看您所需的權限,請參閱 < Email Address and Address Book Permissions主題中的 「 離線通訊錄 」 項目。You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the "Offline address books" entry in the Email Address and Address Book Permissions topic.

  • 本機 Exchange 伺服器需安裝用戶端存取伺服器角色。The local Exchange server must have the Client Access server role installed.

  • 需有預設的 IIS 網站 (例如 /w3svc/1/root)。A default IIS website must exist (for example, /w3svc/1/root).

  • 名為 OAB 的虛擬目錄不存在。A virtual directory named OAB doesn't already exist.

  • 雖然 Web 式發佈預設為啟用不需要進一步設定,但仍建議您為 OAB 發佈點啟用安全通訊端層 (SSL)。Although Web-based distribution is enabled by default and doesn't require further configuration, we recommend that you enable Secure Sockets Layer (SSL) for the OAB distribution point.

  • 您無法使用 Exchange 系統管理中心 (EAC) 執行此程序。您必須使用命令介面。You can't use the Exchange Administration Center (EAC) to perform this procedure. You must use the Shell.

  • 如需適用於此主題中程序的快速鍵相關資訊,請參閱 Exchange 系統管理中心的鍵盤快速鍵For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard shortcuts in the Exchange admin center.

提示

有問題嗎?在 Exchange 論壇中尋求協助。 論壇的網址為:Exchange ServerExchange OnlineExchange Online ProtectionHaving problems? Ask for help in the Exchange forums. Visit the forums at Exchange Server,Exchange Online, or Exchange Online Protection.

使用命令介面來建立 OAB 虛擬目錄Use the Shell to create an OAB virtual directory

若要使用的所有預設設定都建立 OAB 虛擬目錄,您可以執行New-oabvirtualdirectory cmdlet 不含任何參數。使用下列程序來建立自訂設定 OAB 虛擬目錄。To create an OAB virtual directory with all of the default settings, you can run the New-OABVirtualDirectory cmdlet without any parameters. Use the following procedure to create an OAB virtual directory with custom settings.

注意

建立 OAB 虛擬目錄時,建議您啟用 SSL。When creating an OAB virtual directory, we recommend that you have SSL enabled.

此範例會在名為 CASServer01 並已啟用 SSL 且具有外部 URL 的用戶端存取伺服器上,建立 OAB 虛擬目錄。This example creates an OAB virtual directory on the Client Access server named CASServer01 that has SSL enabled and an external URL.

New-OABVirtualDirectory -Server CASServer01 -RequireSSL $true -ExternalURL "https://www.contoso.com/OAB"

建立新的 OAB 虛擬目錄後,您必須編輯上每個使用 Web 式發佈重新連線至 OAB 虛擬目錄的 OAB 的設定。如需詳細資訊,請參閱 < Change 離線通訊錄產生排程After you create a new OAB virtual directory, you must edit the settings on each OAB that uses Web-based distribution to reconnect to the OAB virtual directory. For more information, see Change the offline address book generation schedule.

如需詳細的語法及參數資訊,請參閱 New-OABVirtualDirectoryFor detailed syntax and parameter information, see New-OABVirtualDirectory.