Get-LenovoWarrantyinfo.ps1


<#PSScriptInfo
 
.VERSION 1.0
 
.GUID 01f47b95-53d4-4b8d-8fa6-214fbbf3c508
 
.AUTHOR nave Keinan
 
.COMPANYNAME
 
.COPYRIGHT
 
.TAGS
 
.LICENSEURI
 
.PROJECTURI
 
.ICONURI
 
.EXTERNALMODULEDEPENDENCIES
 
.REQUIREDSCRIPTS
 
.EXTERNALSCRIPTDEPENDENCIES
 
.RELEASENOTES
 
 
.PRIVATEDATA
 
#>


<#
 
.DESCRIPTION
 #get lenovo service tag and warranty information
 
#>
 

Param()




$LenovoServiceTag = Get-WmiObject win32_bios | select serialnumber 
$LenovoServiceTag = $LenovoServiceTag.serialnumber

start-process -FilePath 'C:\Program Files\Internet Explorer\iexplore.exe' -ArgumentList "https://pcsupport.lenovo.com/il/en/products/$LenovoServiceTag/warranty"