Dell Command | Warranty
Oversigt: Dell Command | Warranty
Symptomer
概觀
在 Dell Command | Integration Suite for System Center 中更新的 Warranty 工具有自己的使用者指南 (說明文件)。它是命令列工具,並具有下列參數:
- C:\Program Files (x86)\Dell\CommandIntegrationSuite>DellWarranty-CLI.exe /?
- DellWarranty-CLI.exe (/I=<檔名> | /Ics=<字符串>) [/E=<檔名>] [/Ocs=<字符串>] [/F=<字符串>] [/Ps=<字符串>] [/Pu=<字符串] [/Pd=<字符>串>] [/V] [/W] [/H] [/U]
- /H - 顯示用途 (本資訊)
此參數為選用。
- /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 及資料庫的篩選器
(ActiveWarranty or ExpiredWarranty or WarrantyExpiringIn30Days)
(/F=ActiveWarranty)
此參數為選用。
- /Ps - 代理伺服器
(/Ps=proxy.domain.com[:port])
此參數為選用。
- /Pu - 代理使用者名稱
(/Pu=[proxy user name])
此參數為選用。
- /Pd - 代理使用者密碼
(/Pd=[proxy user password])
輸入所有引數後,系統會提示您提供密碼。輸入密碼後按 Enter 鍵。
參數為選用。
- /V - 在執行指令時顯示其他資訊
(/V)
此參數為選用。
- /W - 在終結處理前等待使用者輸入 - 進行偵錯時最為適用
(/W)
此參數為選用。
Årsag
下載
- Dell Command |保固與 Dell Command |適用於 System Center 的 Integration Suite 適用於 Microsoft System Center 可從 Dell Command 下載 |適用於 Microsoft System Center 驅動程式與下載的 Integration Suite
說明文件
支援 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.exe 檔案,並儲存至用於管理用戶端的系統。
2.按一下 Dell Command | Integration Suite for System Center.exe 檔案,然後在歡迎畫面按一下「下一步」。
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 組態管理員主控台旁的下拉式方塊,並選取無法使用此功能選項。按一下「下一步」,並依照後續的安裝精靈程序操作。
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;”
The connection string to the Configuration Manager database:
● "Data Source=[host];Database=[ Configuration Manager dbname];Integrated Security=true;")
● "Data Source=[host];Database=[ Configuration Manager dbname];User id=[username];Password=[userpwd]"
以下為範例命令:
如果您選擇不以純文字命令列引數傳遞密碼,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 | Warranty 工具後,請輸入 DellWarranty-CLI.exe /H 以顯示使用方式。
為讓 Dell Command | Warranty 正常運作,您必須提供 /InputFile 或 /InputCfgMgrConnectionString 參數。https://www.dell.com/support/home/en-us/product-support/product/command-warranty/docs請參閱 Dell 命令 |保固 說明文件。
● 預設記錄位置為:%ProgramData%\Dell\CommandIntegrationSuite\Logs\warranty.log。Dell Command |保固執行,請使用 /V 參數。
● 如果戴爾命令 |保固是以未提升權限程序執行,記錄會保留在使用者專屬的暫存目錄 %Temp%\CommandIntegrationSuite_Logs\warranty.log。
啟動 Dell Command |保固並建立包含產品服務編號的.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 和 Dell_AssetEntitlement。
這些表格用於儲存保固資料,表格會先清除內容,然後從您的 /InputFile 或 /InputCfgMgrConnectionString 產品服務編號填入資料。
以下是示例命令: DellWarranty-CLI.exe /I= C:\FileName.csv /Ocs=“數據源=[主機];資料庫 = [Warrantydbname];內建安全性=true;”
您可以使用 /F (篩選器) 引數並傳遞「ExpiredWarranty」,為保固過期的系統清單擷取保固資訊。其他支援的篩選器選項為:「AnyWarranty」、「ActiveWarranty」、「WarrantyExpiringIn30Days」。根據預設,引數值為「AnyWarranty」。
DellWarranty-CLI.exe /I=C:\FileName.csv /F= ExpiredWarranty
Løsning
若要下載先前版本:
- 前往 Dell Command |適用於 Microsoft System Center 驅動程式與下載的 Integration Suite
- 若要解除安裝 Dell Command | Integration Suite for System Center:
- 按一下 所有驅動程式版本