Jump to content


Judical

Lenovo Warranty Information

Recommended Posts

Is there an up to date way for pulling this information with SCCM?

 

This was the previous way to do it.

https://sccmguru.wordpress.com/2014/04/24/hp-and-lenovo-warranty-information-in-configuration-manager-2012-r2/

This script is attached since its not available anymore on the site

 

 

Can any scriptwriters in the forums try to modify the existing script to add this;

$test = Invoke-WebRequest -uri http://support.lenovo.com/us/en/warrantylookup-SessionVariable ln
$form = $test.forms[0]
$serial = 'MJNECHL'
$form.Fields["serialCode"]="$($serial)"
$answer = Invoke-WebRequest -Uri ("http://support.lenovo.com"+ $form.Action) -WebSession $ln -Method $form.Method -Body $form.Fields
$a = $answer.ParsedHtml.getElementById("warranty_result_div").outerText
$a.Substring(39,10)
-Judical

Share this post


Link to post
Share on other sites


Are you using this Peter?

Its pointing at the old Lenovo site that was removed just like the original script I had linked.

 

-Judical

Share this post


Link to post
Share on other sites

I have been keeping quite on this thread since I work for Enhansoft but if you have any questions about how our solution works, let me know.

Share this post


Link to post
Share on other sites

I am shocked nobody else is looking for this feature... Where I used to work we had Dell and I was able to get this working, but Lenovo is a different animal. Nobody has a working "free" solution for this?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...