HPECOMCmdlets

1.0.21

The HPE Compute Ops Management PowerShell library offers a comprehensive suite of cmdlets designed to manage and automate your HPE GreenLake environment. By leveraging this library, users can seamlessly interact with HPE GreenLake and Compute Ops Management services directly from the PowerShell command line, enabling efficient integration into existing automation work
The HPE Compute Ops Management PowerShell library offers a comprehensive suite of cmdlets designed to manage and automate your HPE GreenLake environment. By leveraging this library, users can seamlessly interact with HPE GreenLake and Compute Ops Management services directly from the PowerShell command line, enabling efficient integration into existing automation workflows and enhancing operational efficiency.
Show more

Minimum PowerShell version

7.0

Installation Options

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

Install-Module -Name HPECOMCmdlets -RequiredVersion 1.0.21

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name HPECOMCmdlets -Version 1.0.21

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy 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

Owners

Copyright

(C) Copyright 2013-2025 Hewlett Packard Enterprise Development LP Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Details

Author(s)

  • Lionel Jullien (HPE)

Tags

Compute-Ops-Management COM GLP Hewlett-Packard-Enterprise HPE GreenLake HPEGreenLake

Functions

Add-HPECOMServerToGroup Add-HPEGLDeviceCompute Add-HPEGLDeviceNetwork Add-HPEGLDeviceStorage Add-HPEGLDeviceTagToDevice Add-HPEGLDeviceToService Add-HPEGLRoleToUser Add-HPEGLRoleToUserGroup Add-HPEGLSubscriptionToDevice Add-HPEGLUserToUserGroup Connect-HPEGL Connect-HPEGLDeviceComputeiLOtoCOM Connect-HPEGLWorkspace Connect-HPEOnepass Copy-HPEGLScopeGroup Disable-HPECOMEmailNotificationPolicy Disable-HPECOMIloIgnoreRiskSetting Disable-HPECOMMetricsConfiguration Disable-HPECOMServerAutoiLOFirmwareUpdate Disable-HPEGLDevice Disconnect-HPEGL Enable-HPECOMEmailNotificationPolicy Enable-HPECOMIloIgnoreRiskSetting Enable-HPECOMMetricsConfiguration Enable-HPECOMServerAutoiLOFirmwareUpdate Enable-HPEGLDevice Get-HPECOMActivity Get-HPECOMAlert Get-HPECOMAppliance Get-HPECOMApplianceFirmwareBundle Get-HPECOMApprovalPolicy Get-HPECOMEmailNotificationPolicy Get-HPECOMExternalService Get-HPECOMFilter Get-HPECOMFirmwareBaseline Get-HPECOMGroup Get-HPECOMGroupFirmwareCompliance Get-HPECOMGroupiLOConfigurationCompliance Get-HPECOMIloSecuritySatus Get-HPECOMJob Get-HPECOMJobTemplate Get-HPECOMMetricsConfiguration Get-HPECOMReport Get-HPECOMSchedule Get-HPECOMServer Get-HPECOMServerActivationKey Get-HPECOMServeriLOSSO Get-HPECOMServerInventory Get-HPECOMServerLogs Get-HPECOMServerUtilizationInsights Get-HPECOMSetting Get-HPECOMSustainabilityInsights Get-HPECOMWebhook Get-HPEGLAPIcredential Get-HPEGLAuditLog Get-HPEGLDevice Get-HPEGLDeviceAutoReassignSubscription Get-HPEGLDeviceAutoSubscription Get-HPEGLDomain Get-HPEGLJWTDetails Get-HPEGLLocation Get-HPEGLOrganization Get-HPEGLRegion Get-HPEGLRole Get-HPEGLScopeGroup Get-HPEGLService Get-HPEGLServiceResourceRestrictionPolicy Get-HPEGLServiceScopeFilter Get-HPEGLSSOAuthenticationPolicy Get-HPEGLSSOConnection Get-HPEGLSubscription Get-HPEGLTenantWorkspace Get-HPEGLUser Get-HPEGLUserAccountDetails Get-HPEGLUserGroup Get-HPEGLUserGroupMembership Get-HPEGLUserPreference Get-HPEGLUserRole Get-HPEGLWebhook Get-HPEGLWorkspace Get-HPEGLWorkspaceSAMLSSODomain Invoke-HPECOMGroupBiosConfiguration Invoke-HPECOMGroupExternalStorageComplianceCheck Invoke-HPECOMGroupExternalStorageConfiguration Invoke-HPECOMGroupFirmwareComplianceCheck Invoke-HPECOMGroupiLOConfiguration Invoke-HPECOMGroupiLOConfigurationCompliance Invoke-HPECOMGroupInternalStorageConfiguration Invoke-HPECOMGroupOSInstallation Invoke-HPECOMServerExternalStorage Invoke-HPECOMWebRequest Invoke-HPEGLAutoReconnect Invoke-HPEGLWebRequest Join-HPEGLOrganization New-HPECOMAppliance New-HPECOMApprovalPolicy New-HPECOMExternalService New-HPECOMFilter New-HPECOMGroup New-HPECOMServerActivationKey New-HPECOMServerInventory New-HPECOMSettingiLOSettings New-HPECOMSettingServerBios New-HPECOMSettingServerExternalStorage New-HPECOMSettingServerFirmware New-HPECOMSettingServerInternalStorage New-HPECOMSettingServerInternalStorageVolume New-HPECOMSettingServerOSImage New-HPECOMWebhook New-HPEGLAPIcredential New-HPEGLDomain New-HPEGLLocation New-HPEGLOrganization New-HPEGLScopeGroup New-HPEGLService New-HPEGLSSOAuthenticationPolicy New-HPEGLSSOConnection New-HPEGLSubscription New-HPEGLUser New-HPEGLUserGroup New-HPEGLWebhook New-HPEGLWorkspace New-HPEGLWorkspaceSAMLSSODomain Remove-HPECOMAppliance Remove-HPECOMApprovalPolicy Remove-HPECOMExternalService Remove-HPECOMFilter Remove-HPECOMGroup Remove-HPECOMOneViewServerLocation Remove-HPECOMSchedule Remove-HPECOMServerActivationKey Remove-HPECOMServerFromGroup Remove-HPECOMSetting Remove-HPECOMWebhook Remove-HPEGLAPICredential Remove-HPEGLDeviceAutoReassignSubscription Remove-HPEGLDeviceAutoSubscription Remove-HPEGLDeviceFromService Remove-HPEGLDeviceLocation Remove-HPEGLDeviceServiceDeliveryContact Remove-HPEGLDeviceTagFromDevice Remove-HPEGLDomain Remove-HPEGLLocation Remove-HPEGLRoleFromUser Remove-HPEGLRoleFromUserGroup Remove-HPEGLScopeGroup Remove-HPEGLService Remove-HPEGLSSOAuthenticationPolicy Remove-HPEGLSSOConnection Remove-HPEGLSubscription Remove-HPEGLSubscriptionFromDevice Remove-HPEGLUser Remove-HPEGLUserFromUserGroup Remove-HPEGLUserGroup Remove-HPEGLWebhook Remove-HPEGLWorkspace Remove-HPEGLWorkspaceSAMLSSODomain Restart-HPECOMserver Send-HPECOMWebhookTest Send-HPEGLUserInvitation Send-HPEGLWebhookTest Send-HPEGLWorkspaceSAMLSSODomainNotifications Set-HPECOMApprovalPolicy Set-HPECOMExternalService Set-HPECOMFilter Set-HPECOMGroup Set-HPECOMOneViewServerLocation Set-HPECOMSchedule Set-HPECOMSettingiLOSettings Set-HPECOMSettingServerBios Set-HPECOMSettingServerExternalStorage Set-HPECOMSettingServerFirmware Set-HPECOMSettingServerInternalStorage Set-HPECOMSettingServerOSImage Set-HPECOMWebhook Set-HPEGLDeviceAutoReassignSubscription Set-HPEGLDeviceAutoSubscription Set-HPEGLDeviceLocation Set-HPEGLDeviceServiceDeliveryContact Set-HPEGLLocation Set-HPEGLOrganization Set-HPEGLScopeGroup Set-HPEGLSSOAuthenticationPolicy Set-HPEGLSSOConnection Set-HPEGLUserAccountDetails Set-HPEGLUserAccountPassword Set-HPEGLUserGroup Set-HPEGLUserPreference Set-HPEGLUserRole Set-HPEGLWebhook Set-HPEGLWorkspace Set-HPEGLWorkspaceSAMLSSODomain Start-HPECOMserver Stop-HPECOMGroupFirmware Stop-HPECOMserver Test-HPECOMExternalService Test-HPEGLDomain Update-HPECOMApplianceFirmware Update-HPECOMGroupFirmware Update-HPECOMServerFirmware Update-HPECOMServeriLOFirmware Wait-HPECOMJobComplete

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

What's New in v1.0.21

ENHANCEMENTS

iLO Connection - User-Configurable Retry Parameters
• Connect-HPEGLDeviceComputeiLOtoCOM: Added 3 new retry control parameters - MaxConnectionAttempts (1-30, default 10), ConnectionRetryDelaySeconds (1-60, default 5), ConnectionMonitoringTimeoutSeconds (30-600, default 120)
• Benefits: Flexible retry behavior for different network environments, fast-fail mode for testing, extended resilience for unreliable networks
• Fully backward compatible with existing scripts (defaults match previous hardcoded values)

API Wrapper Functions - Collection Property Detection
• Invoke-HPEGLWebRequest & Invoke-HPECOMWebRequest: Synchronized collection property detection logic across both wrappers
• Enhanced detection for non-standard property names (items, roles, users, members, resources, data)
• Added metadata property exclusion (excluded, count, total, offset, limit) to prevent false matches
• Ensures consistent behavior across all HPEGL* and HPECOM* cmdlets

Server Utilization & Sustainability Insights - Bug Fixes & Improvements
• Get-HPECOMSustainabilityInsights: Fixed server-specific query bug - single server queries now correctly filter instead of returning all servers (added resource-uri parameter support with productId+serialNumber format)
• Get-HPECOMServerUtilizationInsights: Fixed data processing bug - single-server utilization queries now correctly extract items from API response
• Get-HPECOMServerUtilizationInsights: Enhanced non-Intel server handling - no longer blocks upfront, API determines compatibility with processor-specific guidance in warnings
• Both cmdlets: Fixed WhatIf issues - no longer show false "No data found" warnings during API preview
• Build Process: Streamlined validation (~200 lines removed) for improved efficiency

Technical Improvements:
• Enhanced query construction with resource-uri for precise server filtering
• Improved pagination handling with SkipPaginationParameters for resource-uri queries
• Fixed data wrapping issue when using ReturnFullObject flag
• Enhanced items array extraction logic for all utilization metric types


INSTALLATION
Install-Module -Name HPECOMCmdlets -Force
Update-Module -Name HPECOMCmdlets

Requirements: PowerShell 7.0+, HPE GreenLake with COM service

FileList

Version History

Version Downloads Last updated
1.0.22 28 2/5/2026
1.0.21 (current version) 73 2/2/2026
1.0.20 9 1/30/2026
1.0.19 64 1/19/2026
1.0.18 93 11/25/2025
1.0.17 79 10/13/2025
1.0.16 31 10/3/2025
1.0.15 131 7/11/2025
1.0.14 24 7/8/2025
1.0.13 166 4/18/2025
1.0.12 19 4/15/2025
1.0.11 244 1/31/2025
1.0.10 74 12/17/2024
1.0.9 36 11/18/2024
1.0.8 24 11/14/2024
Show more