HPRESTCmdlets

1.1.0.0

HPE REST PowerShell cmdlets create an interface to HPE REST devices such as iLO and Moonshot iLO CM.
These cmdlets can be used to get and set HPE REST data and to invoke actions on these devices and the systems they manage.
There are also advanced functions that can create an index or directory of HPE REST data sources. A file with examples called HPRESTExamples.ps
HPE REST PowerShell cmdlets create an interface to HPE REST devices such as iLO and Moonshot iLO CM.
These cmdlets can be used to get and set HPE REST data and to invoke actions on these devices and the systems they manage.
There are also advanced functions that can create an index or directory of HPE REST data sources. A file with examples called HPRESTExamples.ps1 is included in this release.

Minimum PowerShell version

3.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name HPRESTCmdlets -RequiredVersion 1.1.0.0

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Hewlett Packard Enterprise

Copyright

(c) Copyright 2015 Hewlett Packard Enterprise Development LP

Owners

Tags

Hewlett Packard Enterprise HPE REST RESTful iLO Moonshot

Functions

Connect-HPREST Disable-HPRESTCertificateAuthentication Disconnect-HPREST Edit-HPRESTData Enable-HPRESTCertificateAuthentication Find-HPREST Format-HPRESTDir Get-HPRESTData Get-HPRESTDataRaw Get-HPRESTDir Get-HPRESTMessage Get-HPRESTHttpData Get-HPRESTModuleVersion Get-HPRESTIndex Get-HPRESTSchema Get-HPRESTSchemaExtref Get-HPRESTUriFromHref Invoke-HPRESTAction Remove-HPRESTData Set-HPRESTData Test-HPRESTCertificateAuthentication

Dependencies

This module has no dependencies.

Release Notes

HPRESTCmdlets - Version 1.1.0.0
November 29, 2016

Enhancements and fixes:
 - Added Header support for the cmdlets.
 - Renamed Get-HPRESTError to Get-HPRESTMessage and set Get-HPRESTError as an alias to maintain backward compatibility.
 - Added support in Get-HPRESTDataRaw to download data as ByteArray, String or PSObject.
 - Added parameter sets in Connect-HPREST cmdlet one set for Username/Password and another for Credential object.
 - Added Enable-HPRESTCertificateAuthentication, Disable-HPRESTCertificateAuthentication and Test-CertificateAuthentication cmdlets.
 - Refactored Find-HPREST cmdlet to use web request and response objects.
 - Added fix to support extref in the format which does not start with rest/v1/
 - Code restructuring for maintanability.
 - Added support for bypassing certificate check in the connection object. Certificate checking is made as the default behavior.
 - Updated error handling by using Write-Error instead of only displaying a message on the screen.
 - Fixed Format-HPRESTDir and Get-HPRESTDir to handle array objects.
 - Fixed Get-HPRESTIndex to handle schemas of sub-objects like OEM data objects.
 - Fixed Get-HPRESTData to retrieve the schema for OEM data objects.
 - Fixed duplicate property handling due to REST-Redfish data merge.
 - Added example to download AHS logs for iLO and an example to update iLO/ROM firmware.
 
Known Issues:
 - Schema for HpMessageExt.1.0.0 does not exist in the iLO REST interface and retreival of this schema fails.
 
HPE PowerShell Information:
https://www.hpe.com/servers/powershell

Version History

Version Downloads Last updated
1.2.0.0 1,963 10/26/2017
1.1.0.1 531 3/6/2017
1.1.0.0 (current version) 209 11/29/2016
1.0.0.4 581 12/10/2015
1.0.0.3 80 10/14/2015