---
schema_version: "1"
id: 95f92d0df8c965348be0a765779410f4c01c97da87aa03b0d06b5cace90bb0e5
title: tsm register
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server-linux/cli_register_tsm.md
canonical_url: https://help.tableau.com/current/server-linux/zh-tw/cli_register_tsm.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 4d82210d7380098b5cc86c0d91aa6c97b5f0c6d759cf3ab2770e77e0eb3a74c2
description: Reference for the tsm register command to register Tableau Server using a registration file.
---
[跳至主要內容](#main-content)

# tsm register

您可以使用 `tsm register` 命令註冊 Tableau Server。此命令使您能顯示註冊檔範本（使用 `--template` 選項），或提供已填寫註冊檔的路徑（使用 `--file` 選項）。在呼叫 `tsm register` 命令時，您必須使用這兩個選項之一。

### 概要

`tsm register --template | --file <registration-filename> [global options]`

### 選項

\--file <registration-filename>

必需。

包含註冊資料的檔案的路徑。

\--template

必需。

顯示註冊檔案範本。

### 註冊欄位

註冊檔案包含這些欄位。

`first_name`

註冊 Tableau Server 的人員的名字。

`last_name`

註冊 Tableau Server 的人員的姓氏。

`phone`

此註冊的聯絡人的電話號碼。

`email`

此註冊的聯絡人的電子郵件地址。

`company`

註冊 Tableau Server 的組織的名稱。

`industry`

組織的產業。

`company_employees`

組織中的員工人數。

`department`

註冊 Tableau Server 的人員在組織內的部門。

`title`

註冊 Tableau Server 的人員的職務。

`city`

組織或註冊個人所在的城市。

`state`

組織或註冊個人所在的州或省。

`zip`

組織或註冊個人所在的郵遞區號。

`country`

組織或註冊個人所在的國家/地區。

`opt_in`

表明您從 Tableau 接收行銷通訊的喜好設定。很多國家/地區的預設值為 `false`。具體國家的法律會影響此欄位值。有關詳情，請參閱 Salesforce 網站上的[隱私權資訊](https://www.salesforce.com/ap/company/privacy/)。

`eula`

確認您接受使用者授權合約 (EULA)。預設值為 `accept`。您必須接受 EULA 才能使用 Tableau Server。若您不接受，則無法執行 Tableau Server。

## 全域選項

\-h, --help

可選。

顯示命令說明。

\-p, --password <password>

在會話不是活動狀態的情況下為必需，`-u` 或 `--username` 也為必需。

為在 `-u` 或 `--username` 中指定的使用者指定密碼。

如果密碼包括窗格或特殊字元，請將其括在引號中：

`--password 'my password'`

\-s, --server https://<hostname>:8850

可選。

對 Tableau 服務管理器使用指定的位址。URL 必須以 `https` 開頭（包括連接埠 8850），並使用伺服器名稱而不是 IP 位址。例如 `https://<tsm_hostname>:8850`。如果沒有指定伺服器，則假定為 `https://<localhost | dnsname>:8850`。

\--trust-admin-controller-cert

可選。

使用此旗標來信任 TSM 控制器上的自我簽署憑證。如需有關憑證信任和 CLI 連線的詳細資訊，請參閱[連接 TSM 用戶端](https://help.tableau.com/current/server-linux/zh-tw/tsm_overview.htm#Connecti)。

\-u, --username <user>

在會話不是活動狀態的情況下為必需，`-p` 或 `--password` 也為必需。

請指定使用者名稱。如果未包括此選項，則使用您登入所使用的認證執行該命令。