HPECOMCmdlets

1.0.24

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

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

Install-PSResource -Name HPECOMCmdlets

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-HPECOMApplianceToGroup Add-HPECOMApprovalPolicyToGroup Add-HPECOMServerToGroup Add-HPEGLDeviceCompute Add-HPEGLDeviceNetwork Add-HPEGLDeviceStorage Add-HPEGLDeviceTagToDevice Add-HPEGLDeviceToService Add-HPEGLRoleToUser Add-HPEGLRoleToUserGroup Add-HPEGLSubscriptionToDevice Add-HPEGLUserToUserGroup Add-HPEGLWebhookSubscription Confirm-HPEGLLocation Confirm-HPEGLWebhookEndpoint Connect-HPEGL Connect-HPEGLDeviceComputeiLOtoCOM Connect-HPEGLWorkspace Connect-HPEOnepass Copy-HPECOMGroupApplianceServerProfileTemplate 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-HPECOMApprovalRequest Get-HPECOMEmailNotificationPolicy Get-HPECOMExternalService Get-HPECOMFilter Get-HPECOMFirmwareBaseline Get-HPECOMGroup Get-HPECOMGroupServerFirmwareCompliance Get-HPECOMGroupServeriLOConfigurationCompliance Get-HPECOMIloSecuritySatus Get-HPECOMJob Get-HPECOMJobTemplate Get-HPECOMMetricsConfiguration Get-HPECOMOneViewServerProfileTemplate Get-HPECOMReport Get-HPECOMSchedule Get-HPECOMServer Get-HPECOMServerActivationKey Get-HPECOMServerFirmwareDownloadReport 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-HPEGLWebhookSubscription Get-HPEGLWorkspace Get-HPEGLWorkspaceSAMLSSODomain Invoke-HPECOMApplianceRefreshSettings Invoke-HPECOMExternalServiceVCenterFirmwareBaselineSync Invoke-HPECOMGroupApplianceSettings Invoke-HPECOMGroupServerBiosConfiguration Invoke-HPECOMGroupServerExternalStorageComplianceCheck Invoke-HPECOMGroupServerExternalStorageConfiguration Invoke-HPECOMGroupServerFirmwareComplianceCheck Invoke-HPECOMGroupServerFirmwareDownload Invoke-HPECOMGroupServeriLOConfiguration Invoke-HPECOMGroupServeriLOConfigurationCompliance Invoke-HPECOMGroupServerInternalStorageConfiguration Invoke-HPECOMGroupServerOSInstallation Invoke-HPECOMServerExternalStorage Invoke-HPECOMServerFirmwareDownload Invoke-HPECOMWebRequest Invoke-HPEGLAutoReconnect Invoke-HPEGLWebhookDeliveryRetry Invoke-HPEGLWebRequest Join-HPEGLOrganization New-HPECOMAppliance New-HPECOMApprovalPolicy New-HPECOMExternalService New-HPECOMFilter New-HPECOMGroup New-HPECOMServerActivationKey New-HPECOMServerInventory New-HPECOMSettingiLOSettings New-HPECOMSettingOneViewAppliance New-HPECOMSettingOneViewApplianceSoftware New-HPECOMSettingOneViewServerProfileTemplate New-HPECOMSettingOneViewSynergyAppliance 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-HPECOMApplianceFromGroup Remove-HPECOMApprovalPolicy Remove-HPECOMApprovalPolicyFromGroup 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-HPEGLWebhookSubscription Remove-HPEGLWorkspace Remove-HPEGLWorkspaceSAMLSSODomain Resolve-HPECOMApprovalRequest Restart-HPECOMAppliance Restart-HPECOMserver Restore-HPEGLSession Save-HPEGLSession Send-HPECOMWebhookTest Send-HPEGLUserInvitation Send-HPEGLWebhookTest Send-HPEGLWorkspaceSAMLSSODomainNotifications Set-HPECOMApprovalPolicy Set-HPECOMExternalService Set-HPECOMFilter Set-HPECOMGroup Set-HPECOMOneViewServerLocation Set-HPECOMSchedule Set-HPECOMServerUIDIndicator Set-HPECOMSettingiLOSettings Set-HPECOMSettingOneViewAppliance Set-HPECOMSettingOneViewApplianceSoftware Set-HPECOMSettingOneViewServerProfileTemplate Set-HPECOMSettingOneViewSynergyAppliance 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-HPECOMGroupServerFirmware Stop-HPECOMserver Test-HPECOMExternalService Test-HPEGLDomain Update-HPECOMApplianceFirmware Update-HPECOMGroupApplianceFirmware Update-HPECOMGroupServerFirmware Update-HPECOMServerFirmware Update-HPECOMServeriLOFirmware Wait-HPECOMJobComplete

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

What's New in v1.0.24

Full release notes: https://github.com/jullienl/HPE-COM-PowerShell-Library/releases/tag/v1.0.24



DOCUMENTATION — CMDLET HELP (.OUTPUTS) ACCURACY

The .OUTPUTS section of every cmdlet has been audited and corrected. Several cmdlets had wrong type names, missing alternate return types (e.g. the -Async job object or the -ScheduleTime schedule object), or an inaccurate property list. Get-Help <cmdlet> now reliably reflects every object type a cmdlet can return, regardless of which parameters are used.


NON-PRODUCTION ENVIRONMENT SUPPORT (PAVO)

The module now supports HPE's internal pre-production GreenLake environment (Pavo). Set $env:HPE_COMMON_CLOUD_URL to https://pavo.common.cloud.hpe.com/ before Connect-HPEGL — all API endpoints, authentication, and region configuration are automatically derived. No code changes required to run existing scripts against Pavo.

- Disconnect-HPEGL: updated to complete cleanly when disconnecting from Pavo, which uses a different SSO provider than production.

- Get-HPEGLUserAccountDetails: updated to target the Pavo OnePass instance when connected to Pavo.


BUG FIXES

- Add-HPEGLDeviceTagToDevice, Remove-HPEGLDeviceTagFromDevice, Set-HPEGLDeviceLocation, Remove-HPEGLDeviceLocation, Set-HPEGLDeviceServiceDeliveryContact, Remove-HPEGLDeviceServiceDeliveryContact: fixed -WhatIf producing no output.

- New-HPECOMServerActivationKey: fixed cryptic 'JWT verification failed, Token issuer is not trusted' error when no valid server subscription with available quantity exists in the workspace. A pre-flight check now catches this condition and returns a clear actionable message.

- All COM cmdlets: fixed misleading "No active HPE GreenLake session" error when Compute Ops Management is not provisioned in the workspace. A clear, actionable message now directs to Get-HPEGLService -ShowProvisioned.

- Save-HPEGLSession / Restore-HPEGLSession: fixed multiple session-switching bugs including lost Clone() method after restore, incorrect full reconnect instead of fast token refresh, stale COM regions after restore, incorrect blocking after Remove-HPEGLWorkspace, and session corruption when switching workspaces. Refreshed tokens are now automatically synced back to the saved session object after each restore.

- Connect-HPEGL transient HTML response during authentication: the identity service occasionally returns an HTML error page where JSON is expected, causing a parse failure on first call. The error is now detected and the cmdlet automatically retries once after 1 second.

- Connect-HPEGL SSO session now includes identity provider metadata: after an SSO login, $Global:HPEGreenLakeSession exposes two new fields — 'idp' (the IdP tenant URL) and 'idpType' (EntraID, Okta, or PingIdentity). Both are $null for non-SSO authentication.

- Get-HPEGLUserAccountDetails, Set-HPEGLUserAccountDetails, Set-HPEGLUserAccountPassword: for accounts managed by a federated identity provider, these cmdlets now return a clear warning identifying the detected IdP instead of a raw 404 payload with an internal error code.



FileList

Version History

Version Downloads Last updated
1.0.24 (current version) 0 4/15/2026
1.0.23 108 3/17/2026
1.0.22 130 2/5/2026
1.0.21 74 2/2/2026
1.0.20 10 1/30/2026
1.0.19 65 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