Get-LenovoInfo
1.5.0
If the serialnumber/model-code does not exist in cache (eg. first time queried), the script will go online and fetch warranty and/or product spec info from Lenovo web-services.
In addition to the standar
If the serialnumber/model-code does not exist in cache (eg. first time queried), the script will go online and fetch warranty and/or product spec info from Lenovo web-services.
In addition to the standard output from Lenovo web-pages, days left of warranty or days since expired will be calculated, alog with an aproximate age of the computer using (years since waranty start)
Installation Options
Owners
Package Details
Author(s)
- Erlend Westervik
Tags
Device Warranty Lenovo Hardware Age Warranties Endpoint Management Serialnumber Serial Product Model Manufacturer Specification Specc
Functions
Write-Log Invoke-ProductIDWebRequest Invoke-ProductSpecificationWebRequest Invoke-WarrantyWebRequest Import-CSVCache Clear-CSVCache Test-CSVCache Test-CSVProductIDCacheMatch Test-CSVProductSpecificationCacheMatch Test-CSVWarrantyCacheMatch
Dependencies
This script has no dependencies.
Release Notes
Version: 1.0.0 - Original published version
Version: 1.1.0 - Rewrite. New baseline.
Version: 1.5.0 - Added 'ShowCachesCombined' + fixed some output that got pre-formated
FileList
- Get-LenovoInfo.nuspec
- Get-LenovoInfo.ps1