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

# 自動執行授權工作

您可以使用 `[tsm licenses](https://help.tableau.com/current/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\`