---
schema_version: "1"
id: 880185b2aff41d2021129ca7e885f2cf609a14650691e0cb345e79c8d5ed3469
title: 自動執行授權工作
collection: tableau
version: next
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/next/zh-tw/server-linux/license_automating.md
canonical_url: https://help.tableau.com/v0.0/server-linux/zh-tw/license_automating.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 79307ca0737cb78fdd629de6fbc67e0c9708773c5cdd996531c9556b2c14eaca
description: Automate Tableau Server licensing tasks using command line tools and scripts.
---
[跳至主要內容](#main-content)

# 自動執行授權工作

您可以使用 `[tsm licenses](https://help.tableau.com/v0.0/server-linux/zh-tw/cli_licenses_tsm.htm)` 執行授權工作，例如連線或離線啟用或停用 Tableau Server 產品金鑰，以及獲取關聯的檔案以進行離線啟用或停用。但是，必須已部署和設定 Tableau Server。您可以使用 [Tableau 服務管理員 API](http://onlinehelp.tableau.com/v0.0/api/tsm_api/zh-tw/index.htm) 自動執行這些授權工作。

`C:\ProgramData\Tableau\Tableau Server\data\tabsvc\logs\`