跳至主要內容
  • 簡單快速地下訂單
  • 檢視訂單及追蹤商品運送狀態
  • 建立並存取您的產品清單
  • 使用「公司管理」來管理您的 Dell EMC 網站、產品和產品層級連絡人。

Dell Command | Warranty

摘要: Dell Command | Warranty

本文可能採用自動翻譯。如果您對翻譯品質有任何寶貴意見,請使用此頁面底部的表單告訴我們,謝謝。

文章內容


症狀

概述

Dell Command 中更新的保固工具 |Integration Suite for System Center 有自己的使用者指南 (說明檔)。它是命令列工具,並具有下列參數:

  • C:\Program Files (x86)\Dell\CommandIntegrationSuite>DellWarranty-CLI.exe /?

 

  • DellWarranty-CLI.exe (/I=<filename> | /Ics=<string>) [/E=<filename>] [/Ocs=<string>] [/F=<string>] [/Ps=<string>] [/Pu=<string>] [/Pd=<string>] [/V] [/W] [/H] [/U]

 

  • /H - 顯示用途 (本資訊)
(/Help)
此參數為選用。
 
  • /U - 顯示用途 (本資訊)

(/Usage)
此參數為選用。

 

  • /I - 產品服務編號輸入 CSV 檔的完整路徑

(/I=C:\FileName.csv)
所需的參數可與組態管理員連線字串搭配使用。

 

  • /Ics - 連接至組態管理員資料庫的連接字串

(/Ics="Data Source=[host];Database=[Configuration Manager dbname];Integrated Security=true;")
(/Ics="Data Source=[host];Database=[Configuration Manager dbname];User id=[username];")
輸入所有引數後,系統會提示您提供密碼。輸入密碼後按 Enter 鍵。
必要參數可與輸入.csv檔案搭配使用。
 

  • /E - CSV 匯出檔案的完整路徑 - 檔案包含 CLI 執行後的保固資訊

(預設:[ProgramData\Dell\Warranty\][WarrantyOutput_[yyyyMMddhhmmss].csv)
(/E=C:\ExportFileName.csv)
此參數為選用。

 

  • /Ocs - 連接至輸出 Warranty 資料庫的連接字串。將會在 CLI 執行後包含保固資訊。

(/Ocs="Data Source=[host];Database=[dbname];Integrated Security=true;")
此參數為選用。

 

  • /F - 適用於 Warranty API 及資料庫的篩選器
(預設:AnyWarranty)
(ActiveWarranty or ExpiredWarranty or WarrantyExpiringIn30Days)
(/F=ActiveWarranty)
此參數為選用。

 

  • /Ps - 代理伺服器

(/Ps=proxy.domain.com[:port])
此參數為選用。

 

  • /Pu - 代理使用者名稱

(/Pu=[Proxy 用戶名稱])
參數為選用。

 

  • /Pd - 代理使用者密碼

(/Pd=[proxy user password])
輸入所有引數後,系統會提示您提供密碼。輸入密碼後按 Enter 鍵。
參數為選用。

 

  • /V - 在執行時顯示其他資訊

(/V)
此參數為選用。

 

  • /W - 在終結處理前等待使用者輸入 - 進行偵錯時最為適用

(/W)
此參數為選用。

原因

下載

  • Dell Command |保固和 Dell Command |Integration Suite for System Center for Microsoft System Center 6.5.1 (2024 年 1 月發佈)

           下載


說明文件

  • 支援 Dell Command | Warranty 說明文件
           說明文件
 

Dell Command | Warranty - 常見問題 (常見問答集)

Dell Command | Warranty 能協助您擷取儲存在組態管理員資料庫或單一檔案中的用戶端系統清單之保固資訊。用戶端系統是使用其產品服務編號來指定。

安裝 Dell Command | Warranty 作為 Dell Command | Integration Suite For System Center 的一部分
1.下載並儲存 Dell Command |Integration Suite for System Center for System Center.exe 檔案至您用來管理客戶端的系統。
2.按兩下 Dell Command |Dell Command |Integration Suite for System Center for System Center.exe 檔案,然後在歡迎畫面按兩下 [Next] (下一步)。
3.接受授權合約,然後按一下「下一步」。「選擇安裝選項」畫面隨即顯示。
4.選取安裝選項,然後按一下「下一步」。
5.選取「完成安裝」選項,然後按一下「下一步」。
6.依照後續的安裝精靈程序操作。
7.安裝程序完成後,按一下「完成」。

安裝 Dell Command | Warranty 作為獨立式應用程式
1.下載 Dell Command | Integration Suite for System Center.exe 檔案,並儲存至用於管理用戶端的系統。
2.按一下 Dell Command | Integration Suite for System Center.exe 檔案,然後在歡迎畫面按一下「下一步」。
3.接受授權合約,然後按一下「下一步」。「選擇安裝選項」畫面隨即顯示。
4.選取安裝選項,然後按一下「下一步」。
5.選取「自訂安裝」選項,然後按一下「下一步」。
6.按兩下 System Center Configuration Manager 控制台旁的下拉式方塊,選取「無法使用此功能」的選項。
7.按一下「下一步」,並依照後續的安裝精靈程序操作。
8.安裝程序完成後,請按一下「完成」。

使用命令行工具啟動 Dell Command | Warranty。
1.開啟命令提示字元。
2.前往放置 Dell Command | Warranty 檔案的資料夾。例如,輸入:C:\Program Files (x86)\Dell\CommandIntegrationSuite\
3.輸入可執行檔的名稱。例如,輸入:DellWarranty-CLI.exe

使用 Dell Command |保固時,您可以使用產品服務編號來擷取產品的保固詳細數據。
若要取得產品的產品服務編號,請參閱 Dell 知識庫文章 「如何使用命令提示字元

使用 Dell Command 找出您的系統服務標籤」 |保固可以一次擷取大量產品的保固資訊,而且這些程式可以使用標準腳本自動執行。

使用以下命令:
DellWarranty-CLI.exe /ICS=“Data Source=[host];Database=[ Configuration Manager dbname];Integrated Security =true;”
組態管理員資料庫的連線字串:
● 「Data Source=[host];Database=[ Configuration Manager dbname];Integrated Security=true;“)
● 「Data Source=[host];Database=[ Configuration Manager dbname];使用者 id=[username];Password=[userpwd]“
這是範例命令:DellWarrantyCLI.exe /Ics="DataSource=[host];Database=[ ConfigurationManagerdbname];IntegratedSecurity=true;"

如果您選擇不以純文字命令列引數傳遞密碼,Dell Command | Warranty 會提示您另外輸入密碼,以遮蔽或隱藏純文字密碼。

系統會擷取 Dell 用戶端系統的保固資訊,並以 .csv 檔案格式儲存。

預設路徑為:[%ProgramData%\Dell\CommandIntegrationSuite\][WarrantyOutput_[yyyyMMddhhmmss].csv 資料夾

使用 /E CLI 命令,我們可以將保固信息導出至自定義位置的.csv檔案。
以下為範例命令:DellWarranty-CLI.exe /I=“C:\FileName.csv” /E=“C:\WarrantyOutputfilename.csv”

啟動 Dell Command 后 |保固工具,輸入 DellWarranty-CLI.exe /H 即可顯示使用方式。
Dell Command |若要運作保固,您必須提供 /InputFile 或 /InputCfgMgrConnectionString 參數。請參閱 Dell Command |保固 檔。

● 預設記錄位置為:%ProgramData%\Dell\CommandIntegrationSuite\Logs\warranty.log。Dell Command | 期間的詳細記錄保固執行,請使用 /V 參數。
● 如果是 Dell Command |保固以無關聯的程式執行,記錄會保存在使用者特定的臨時目錄 %Temp%\CommandIntegrationSuite_Logs\warranty.log。 

啟動 Dell Command | Warranty,然後建立包含產品服務編號的 .csv 檔案並加以儲存。
輸入以下命令:DellWarranty-CLI.exe /I=C:\FileName.csv。
系統會擷取 Dell 用戶端系統的保固資訊,並以 .csv 檔案儲存於預設路徑中:[%ProgramData%\Dell\CommandIntegrationSuite\][WarrantyOutput_[yyyyMMddhhmmss].csv 資料夾。

您可以使用 /Ocs 引數來定義輸出連線字串。
輸出保固資料庫的連接字串看起來類似 - ("Data Source=[host];Database=[Warrantydbname];Integrated Security=true;")。
這個 /Ocs 命令會使用以上提供的名稱建立資料庫。輸出資料庫,在預設 SQL Server 中。{nn}(其中 nn 為版本,例如「SQL Server 15」) 安裝,請參閱 %programfiles%\Microsoft SQL Server\MSSQL{nn}。MSSQLSERVER \MSSQL\DATA\[Warrantydbname].mdf,而記錄檔案位於:%programfiles%\Microsoft SQL Server\MSSQL{nn}。MSSQLSERVER \MSSQL\DATA\Waranty dbname]_log.ldf。
資料庫建立後,/Ocs 命令會建立兩個額外的表格:Dell_Asset and Dell_AssetEntitlement。
這些表格可用來儲存保固資料,這些資料會先清除,然後從 /InputFile 或 /InputCfgMgrConnectionString 產品服務編號填入。
以下為範例命令:DellWarranty-CLI.exe /I= C:\FileName.csv /Ocs="Data Source=[host];Database=[Warrantydbname];Integrated Security=true;"

您可以使用 /F (篩選器) 自變數,通過「ExpiredWarranty」以擷取保固過期之系統清單的保固資訊。其他支持的篩選器選項是:「AnyWarranty」、「ActiveWarranty」、「WarrantyExpiringIn30Days」。根據預設,自變數值為「AnyWarranty」。
DellWarranty-CLI.exe /I=C:\FileName.csv /F= ExpiredWarranty

解析度

先前的版本

  • Dell Command |保固和 Dell Command |Integration Suite for System Center for Microsoft System Center 6.5.0 (2023 年 10 月發佈)

           下載


  • Dell Command |保固和 Dell Command |Integration Suite for System Center for Microsoft System Center 6.4.1 (2023 年 3 月發佈)

           下載


  • Dell Command |保固和 Dell Command |Integration Suite for System Center for Microsoft System Center 6.4.0 (2023 年 1 月發佈)

           下載


  • Dell Command |保固和 Dell Command |Integration Suite for System Center for Microsoft System Center 6.3.1 (2022 年 11 月發佈)

           下載


  • Dell Command |保固和 Dell Command |Integration Suite for System Center for Microsoft System Center 6.3.0 (2022 年 10 月發佈)

           下載


  • Dell Command |保固和 Dell Command |Integration Suite for System Center for Microsoft System Center 6.2.0 (2022 年 7 月發佈)

           下載


  • Dell Command |保固和 Dell Command |Integration Suite for System Center for Microsoft System Center 6.1.0 (2022 年 4 月發佈)

           下載


  • Dell Command | Warranty 和 Dell Command | Integration Suite for System Center for Microsoft System Center 6.0.1 (2022 年 2 月發佈)

           下載      

其他資訊

建議的文章

以下是一些與本主題相關的建議文章,您可能會感興趣。

文章屬性


受影響的產品

Dell Command | Integration Suite for Microsoft System Center

上次發佈日期

31 1月 2024

版本

17

文章類型

Solution