Git Product home page Git Product logo

hpwarranty's Introduction

HPWarranty PowerShell Module

As HP has recently split into two different companies, this is a complete rewrite, and is still beta. Cmdlet names and functionallity may change, I will not be supporting backwards compatibility.

This module can be installed from the PowerShellGallery. You need WMF 5 to use this feature.

Install-Module -Name HPWarranty

HP has recently split into two divisions, and this a first attempt to support both HP server and workstation warranty via PowerShell. I currently have no way to check if a machine is a 'Server' or a 'Workstaion', so that falls on you, for now. I have added the error returned from HP to the errorstream, so you should be able to tell what the issue is more easily. This is still very beta, so please report any issues. Thanks.

HPWarranty Cmdlets

Example 1:

# Execute from local HP workstation.
Get-HPIncWarrantyEntitlement

Example 2:

# Execute against remote HP workstation (must be on).
Get-HPIncWarrantyEntitlement -ComputerName 'MyFriendsHP.ourdomain.org'

Example 3:

# Execute for local HP Server
Get-HPWarrantyEntitlement

Example 4:

# Get info from ConfigMgr DB and then get warranty info.
# To use the Get-HPSystemInformationFromCMDB cmdlet, the MS_SystemInformation WMI Class needs to be inventoried.
# This is not done by default, and will need to be done in your client settings.
Get-HPSystemInformationFromCMDB -SqlServer 'mysccmserver' -Database 'CM_AB1' -IntergratedSecurity -ComputerName 'mycomputer' | Get-HPWarrantyEntitlement

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.