Giter Club home page Giter Club logo

powershell-dell-warranty-check's Introduction

Dell Warranty Check and Branding

The module will query using the Dell API key and return the following information:

  • Warranty Start Date (earliest date available)
  • Warranty End Date (latest date available)
  • Service Tag
  • Machine Model
  • Original Ship Date
  • Type of warranty (most recent warranty level shown by default)

It can then brand the above information to the registry under HKLM\SOFTWARE\WARRANTY

You can install this using the command Install-Module -Name Get-DellWarranty within an elevated powershell session.


You will need to update the API Key by running Get-DellWarranty -Api

This will then save the API to a file in your appdata folder.

The API can be optained by speaking to Dell Tech Direct or by finding a working public API Key.

If you receive a new API Key, or yours has stopped working, you can amend it by running Get-DellWarranty -Api again.


Switches and Parameters.

The function Get-DellWarranty by default will only grab the information from dell for the machine that the script is being run from, and will not show or brand any information.

You can change this behaviour by specifying the service tag you want to check using the -ServiceTag Parameter
E.g. Get-DellWarranty -ServiceTag "F11F111"
E.g. Get-DellWarranty -Show -Brand

You can get information within the console by using -Show.
The -Show switch is triggered by default when using -ServiceTag.

You can use the switch -Full to get more information from a service tag. This includes the original ship date and older (if applicable) warranty levels that the machine previously had.

You can choose to brand the information retrieved in to the registry using -Brand.
By default, the location for this information will be HKLM\SOFTWARE\WARRANTY
This can be changed by changing the $registryPath variable.
This switch will not work unless you are in an elevated powershell window however, and it will warn you as such.

powershell-dell-warranty-check's People

Contributors

connochio avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.