Skip to content

Release v1.0.16

Choose a tag to compare

@jullienl jullienl released this 03 Oct 14:31
· 37 commits to main since this release
4d024ef

Bug Fixes

  • [CRITICAL] Resolved authentication failures in Connect-HPEGL caused by updates to Okta endpoints (auth.hpe.com), which broke all authentication methods across published module versions.
    • Affected scenarios included MFA with push notifications, MFA with OTP codes, SSO, and single-factor authentication.
    • Users encountered "Invalid username or password" errors despite valid credentials, preventing connections to HPE GreenLake services.
    • Resolution: Updated library to use the OIDC/IDX OAuth flow, aligning with HPE GreenLake's recommended authentication and authorization standards.
  • Fixed Get-HPECOMServer -ShowGroupFirmwareCompliance to handle servers not assigned to any group.
  • Corrected Get-HPECOMActivity to properly return activity dates.
  • Resolved incorrect WorkloadProfile definitions in New-HPECOMSettingServerBios and Set-HPECOMSettingServerBios, adding support for the 'custom' profile option.
  • Added warning in Add-HPECOMServerToGroup when the server is already a member of another group.
  • Restored functionality in Get-HPECOMServeriLOSSO via a temporary workaround using legacy COM API endpoints, pending full implementation of new endpoints.
  • Fixed Test-HPECOMExternalService to accurately detect test completion, addressing typos, procedural errors, and changes in activity source names.
  • Improved Invoke-HPEGLAutoReconnect to detect expired tokens and return appropriate errors.
  • Updated Get-HPECOMAppliance to handle cases with no valid Compute Ops Management - OneView Edition subscription without error messages.
  • Numerous additional minor bug fixes and enhancements for overall stability.

New Cmdlets

  • New-HPECOMSettingiLOSettings and Set-HPECOMSettingiLOSettings
    • Enable creation and configuration of iLO settings.
    • Support key areas like account services, network protocols, SNMP, and security services.
    • Updated New-HPECOMGroup and Set-HPECOMGroup to apply iLO settings at the group level.
  • Invoke-HPECOMGroupiLOConfiguration
    • Triggers iLO configuration updates for some or all members of a server group.
  • Get-HPECOMGroupiLOConfigurationCompliance
    • Reports iLO configuration compliance status for servers in a group.
    • Aids in monitoring and enforcing consistent iLO settings across the group.
  • Get-HPECOMSustainabilityInsights
    • Fetches sustainability metrics for COM-managed servers, including energy use, CO2 emissions, and cost savings.
    • Facilitates environmental impact tracking and optimization.
    • Replaces the deprecated Get-HPECOMSustainabilityReport.
  • Get-HPECOMServerUtilizationInsights
    • Provides utilization data for COM-managed servers (CPU, memory bus, I/O bus).
    • Supports proactive performance monitoring and infrastructure management.
  • Get-HPEGLOrganization
    • First cmdlet to interact with HPE GreenLake organizational resources.
    • Retrieves information about HPE GreenLake organizations.
    • Provides insights into organizational structure, resource allocation, and compliance.
  • Remove-HPEGLWorkspace
    • Deletes the connected workspace in HPE GreenLake.
    • Includes -NotifyAllWorkspaceUsersByEmail to alert all users via email.
    • Streamlines cleanup of unused workspaces; note that deletion disconnects the session—reconnect via Connect-HPEGL -Workspace <workspace_name>.

Improvements

  • Enhanced Security in Verbose Logging
    • Automatically redacts sensitive data (e.g., stateHandle tokens, SAMLRequest payloads, okta_key parameters, passwords) in authentication functions like Connect-HPEGL and Connect-HPEGLDeviceComputeiLOtoCOM, as well as -WhatIf scenarios.
    • Masks values as [REDACTED] to prevent exposure in debug transcripts, shared logs, or CI/CD pipelines while maintaining log utility.
    • No impact on core functionality or non-verbose output.
  • Get-HPECOMServer
    • Added -ShowSubscriptionDetails parameter for detailed subscription info.
    • Enhanced Get-HPECOMServer -ShowServersWithRecentSupportCases output with support case counts and details.
  • Invoke-HPECOMWebRequest
    • Dynamically adjusts JSON conversion depth based on response size for better performance.
  • Get-HPEGLSubscription
    • Added -ShowAssignedServers to list servers tied to a subscription key.
  • Get-HPEGLLocation
    • Added -ShowServers to display servers assigned to a location.
  • Invoke-HPECOMGroupInternalStorageConfiguration
    • Now supports volume name renaming.
  • New-HPEGLWorkspace
    • Defaults to creating workspaces with the latest IAMv2 (Identity and Access Management) and organizational governance.
    • Added -EnableIAMv1Workspace switch for legacy IAMv1 compatibility.
  • Connect-HPEGLDeviceComputeiLOtoCOM
    • Added -RemoveExistingiLOProxySettings to clear outdated proxy or Secure Gateway configurations.
    • Removed -SerialNumber parameter; now auto-retrieves from iLO for simplicity.
    • Introduced wait periods post-proxy changes to ensure reliable iLO-to-COM connections.
    • Enhanced output with detailed status updates on proxy modifications and connection progress.
    • Improved verbose logging by masking iLO passwords for added security.
  • Broad performance and reliability enhancements across various cmdlets.

Module Restructuring

  • Refactored into nested submodules to boost performance, maintainability, and modularity.
  • Previously, a monolithic .psm1 file complicated maintenance, debugging, and extensions while risking scoping issues.
  • Benefits include easier dependency management, clearer code organization, and streamlined future updates—no breaking changes.

Cmdlets Migrated to Public APIs

  • Add-HPEGLDeviceToService and Remove-HPEGLDeviceFromService
  • Add-HPEGLSubscriptionFromDevice and Remove-HPEGLSubscriptionFromDevice
  • Get-HPEGLDevice (partial migration)

These updates leverage stable public APIs for improved reliability and future-proofing.

Cmdlets Removed

  • Get-HPECOMSustainabilityReport
  • New-HPECOMSustainabilityReport

These have been replaced by AI-driven insights cmdlets: Get-HPECOMSustainabilityInsights, Get-HPECOMMetricsConfiguration, Enable-HPECOMMetricsConfiguration, and Disable-HPECOMMetricsConfiguration.

Cmdlets Renamed

  • Get-HPEGLServiceResourceRestrictionPolicyFilter → Get-HPEGLServiceResourceRestrictionPolicy
    • Renamed for clarity; retrieves resource restriction policies for HPE GreenLake services, including applied policy details.