Dell Command | Warranty 使用者指南
註、警示與警告 註: 「註」表示可以幫助您更有效地使用產品的重要資訊。 警示: 「警示」表示有可能會損壞硬體或導致資料遺失,並告訴您如何避免發生此類問題。 警告: 「警告」表示有可能會導致財產損失、人身傷害甚至死亡。 版權所有 © 2017 Dell Inc. 或其子公司。版權所有,翻印必究。Dell、EMC 與其他商標均為 Dell Inc.
目錄 1 Dell Command | Warranty...............................................................................................................................4 支援的作業系統.................................................................................................................................................................4 支援的用戶端作業系統.............................................................................................................................................. 4 支援的伺服器作業系統....................
1 Dell Command | Warranty Dell Command | Warranty 可以作為獨立應用程式安裝,或是在執行 Microsoft System Center 2012 Configuration Manager、System Center 2012 SP1 Configuration Manager、System Center 2012 R2 Configuration Manager 及 Microsoft System Center Current Branch 的 系統上,作為 Dell Command | Integration Suite 的一部分安裝。Dell Command | Warranty 能協助您擷取儲存在 Configuration Manager 資料庫或單一檔案中的用戶端系統清單之保固資訊。用戶端系統是由其服務標籤所指定。 支援的作業系統 以下列出此應用程式支援的作業系統類型與特定版本。 支援的用戶端作業系統 • Windows 10 (32 位元) • Windows 10 (64 位元) • Windows 10 (32 位元) 專業版 • Wi
• Windows Server 2012 R2 • Windows Server 2012 Dell Command | Warranty 5
2 安裝 Dell Command | Warranty Dell Command | Warranty 可以作為獨立式應用程式安裝,或是在執行 Microsoft System Center 2012 Configuration Manager 的系統 上,作為 Dell Command | Integration Suite for System Center 的一部分安裝。 註: 您必須以系統管理員的身份登入,才能安裝 Dell Command | Warranty。 主題: • 安裝 Dell Command | Warranty 作為 Dell Command | Integration Suite For System Center 的一部分 • 安裝 Dell Command | Warranty 作為獨立式應用程式 安裝 Dell Command | Warranty 作為 Dell Command | Integration Suite For System Center 的一部分 1 下載 Dell Command | Integration Suite for System
3 啟動 Dell Command | Warranty 使用命令列工具啟動 Dell Command | Warranty。 1 開啟命令列提示字元。 2 瀏覽至放置 Dell Command | Warranty 檔案的資料夾。 例如,鍵入:cd C:\Program Files\Dell\Command . . . 3 鍵入可執行檔的名稱。 例如,鍵入:DellWarranty-CLI.
4 設定 Dell Command | Warranty 使用 Dell Command | Warranty 之前,請執行下列步驟: 1 啟動 Dell Command | Warranty。 如需更多資訊,請參閱啟動 Dell Command | Warranty。 2 輸入 DellWarranty-CLI.
5 擷取保固資訊 1 如果 Dell Command | Warranty 所安裝的系統能夠存取 Configuration Manager,且能連線至網際網路 (包括透過 Proxy): a 啟動 Dell Command | Warranty。 b 如需更多資訊,請參閱啟動 Dell Command | Warranty。 設定 Dell Command | Warranty。 c 如需更多資訊,請參閱設定 Dell Command | Warranty。 如要透過 Configuration Manager 資料庫來擷取保固資訊: • 請使用此命令:DellWarranty-CLI.
A 命令列介面 (CLI) 選項 CLI 選項名稱 CLI 選項縮寫 說明 語法 /Help /H 顯示用途 (本資訊)。 DellWarranty-CLI.exe /H /Usage /U 顯示用途 (本資訊)。 DellWarranty-CLI.exe /U /InputFile /I 註: 若要讓 Warranty 工具正常運作,您必 須至少提供兩個輸入旗標的其中一個 (/I 或 /Ics)。 DellWarrantyCLI.exe /I=C: \FileName.csv 服務標籤輸入 .csv 檔的完整路徑 (C:\FileName.csv) 必要參數,可與 Configuration Manager 連接字串 一起使用。 /InputCfgMgrConnectionString /Ics 註: 若要讓 Warranty 工具正常運作,您必 須至少提供兩個輸入旗標的其中一個 (/I 或 /Ics)。 連接至 Configuration Manager 資料庫的連接字 串。 DellWarranty-CLI.
[Waranty dbname]_log.ldf。在 Windows 10 系統 上,%USERPROFILE% 變數通常是 C:\Users\ [username]\。 資料庫建立完成後,/Ocs 命令會建立兩個額外 的表格:Dell_Asset 和 Dell_AssetEntitlement。這 些表格用於儲存保固資料,表格會先清除內容, 然後從您的 /InputFile 或 / InputCfgMgrConnectionString Servicetag 填入資 料。 註: 資料庫建立完成後,您可以使用 SQL 命令 alter database 或 SQL Server Management Studio 來變更 [Warranty dbname].mdf 和 [Warranty dbname]_log.ldf 檔案的位置。 /Filter /F 適用於 Warranty API 及 DB 的篩選器 (預設:AnyWarranty) DellWarrantyCLI.exe /I= C: \FileName.
命令列介面 (CLI) 選項
B Warranty 輸出資料庫結構描述 當您使用 /Ocs 切換參數時,會建立下列資料字典。 範例命令:DellWarranty-CLI.exe /I=C:\Users\[username]\Documents\FileName.csv /Ocs="Data Source=(localdb)\MSSQLLocalDB;Database=[dbname];Integrated Security=true;" 註: 如上所示,您在 /Ocs 切換參數中提供變數 [dbname]。 表 1.
Dell_AssetEntitlements LastUpdated datetime 8 1 Dell_AssetEntitlements LastRetrieval nvarchar 100 1 14 Warranty 輸出資料庫結構描述