HPECOMCmdlets
1.0.27
Minimum PowerShell version
7.0
Installation Options
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-HPECOMSecureGatewayDiscoveredServer Connect-HPEGL Connect-HPEGLDeviceComputeiLOtoCOM Connect-HPEGLWorkspace Connect-HPEOnepass Copy-HPECOMGroupApplianceServerProfileTemplate Copy-HPEGLScopeGroup Disable-HPECOMDataCollection Disable-HPECOMEmailNotificationPolicy Disable-HPECOMIloIgnoreRiskSetting Disable-HPECOMMetricsConfiguration Disable-HPECOMServerAutoiLOFirmwareUpdate Disable-HPECOMServerMaintenanceMode Disable-HPEGLDevice Disconnect-HPEGL Enable-HPECOMDataCollection Enable-HPECOMEmailNotificationPolicy Enable-HPECOMIloIgnoreRiskSetting Enable-HPECOMMetricsConfiguration Enable-HPECOMServerAutoiLOFirmwareUpdate Enable-HPECOMServerMaintenanceMode 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-HPECOMSecureGatewayServerDiscovery 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-HPECOMSecureGatewayServerDiscovery 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-HPEGLDevice 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
Dependencies
This module has no dependencies.
Release Notes
What's New in v1.0.27
Full release notes: https://github.com/jullienl/HPE-COM-PowerShell-Library/releases/tag/v1.0.27
HEADLINE FEATURE - OPENID CONNECT (OIDC) SINGLE SIGN-ON
Connect-HPEGL now signs in to HPE GreenLake workspaces and organizations federated with OpenID Connect (OIDC), in addition to SAML 2.0, for Okta, Microsoft Entra ID and PingIdentity. Previously, OIDC-federated workspaces could not be used from PowerShell at all. The federation protocol is detected automatically, so the same -PasswordlessSSOEmail and -Credential parameters work for both, with no script changes. Supported: passwordless (push, TOTP/OTP) and password-based sign-in (password only, or password + MFA step-up) with all three providers.
Connect-HPEGL -PasswordlessSSOEmail user@company.com -Workspace Production
Connect-HPEGL -Credential (Get-Credential -UserName user@company.com) -Workspace Production
PingIdentity OIDC tip: set the PingOne application's Token Endpoint Authentication Method to Client Secret Post.
ALSO IN THIS RELEASE
- Group-based user onboarding: create users whose permissions come entirely from user groups.
- Safer sign-in logs: -Verbose output now masks email addresses, sign-in tokens, authorization codes and cookie values.
- Targeted Secure Gateway discovery: discover iLOs at specific addresses or ranges.
BUG FIXES
- Connect-HPEGL: Fixed -PasswordlessSSOEmail failing for accounts whose email domain is a subdomain of hpe.com but is not @hpe.com itself (for example @labs.example.hpe.com). These accounts were treated as HPE internal accounts and stopped with a misleading message asking to use -PasswordlessSSOEmail. They now sign in through their organization's single sign-on.
- New-HPEGLUser: Users can now be created with membership in one or more user groups and no direct role assignment, so permissions come entirely from the groups' roles. Previously -RoleName was mandatory. At least one role or one user group is still required. If the user is created but cannot be added to a group, the result now shows Failed with the reason instead of reporting success. Running the command again for a user created earlier without workspace access now completes the missing group membership instead of failing with a conflict error.
- Add-HPEGLUserToUserGroup, Remove-HPEGLUserFromUserGroup, Get-HPEGLUserGroup, Get-HPEGLUserGroupMembership: Fixed adding and removing group members failing with "Not Found", group memberships failing to load, and member lists (-ShowUsers) and counts coming back empty, because these cmdlets used a group API version that is no longer available. They now use the current version. Users are also now found when they have no access to the current workspace yet (for example users created without direct roles).
- Remove-HPEGLUser: Fixed the cmdlet not recognizing that the connected workspace belongs to an organization: it only removed the user from the workspace instead of deleting the account from the organization as documented, and could not find users without access to the current workspace. In an organization, the default now deletes the account from the organization; use -FromWorkspaceOnly to remove the user from the current workspace only. Run with -WhatIf first.
- New-HPEGLUserGroup: Fixed group creation reporting success without assigning the requested role. Roles and scopes are now validated before creation, and the role is assigned after creation. If assignment fails, the result reports Failed and retains the created group's ID for retry.
- Connect-HPEGL: Fixed a sign-in failure affecting accounts whose email domain is configured for single sign-on in HPE GreenLake, but whose identity is a local HPE account rather than an account in the corporate identity provider (typically users created before their domain was set up for SSO). Signing in with -Credential failed with a misleading message saying the account did not exist in the identity provider. These accounts now sign in successfully.
- Remove-HPEGLWorkspace: Fixed incomplete session cleanup after deleting a workspace. The session is now fully cleared after a successful deletion, like Disconnect-HPEGL.
- Connect-HPEGL (Entra ID passwordless sign-in): Fixed a sign-in failure with Microsoft Authenticator when the push approval was not pre-armed by Entra ID; the approval is now requested automatically. When push notifications are temporarily blocked by Microsoft, a clear message now explains the cause and how to resolve it.
- Connect-HPEGLDeviceComputeiLOtoCOM, New-HPEGLWorkspaceSAMLSSODomain, Set-HPEGLWorkspaceSAMLSSODomain, Remove-HPEGLWorkspaceSAMLSSODomain: Fixed a failure ("times ('-1') must be a non-negative value") when these cmdlets run in a session without a console window, such as ForEach-Object -Parallel or thread jobs (Start-ThreadJob).
IMPROVEMENTS
- Connect-HPEGL: Email addresses are now masked in the verbose output, so a captured sign-in log can be shared when reporting an issue without exposing the account. Temporary sign-in values (session tokens, SAML messages, authorization codes) and cookie values are masked too. Messages displayed to you, and -WhatIf request previews, still show the real address.
- Invoke-HPECOMSecureGatewayServerDiscovery: Added a manual (targeted) discovery mode with the new -IPAddress and -IPRange parameters. You can now discover HPE iLO devices at specific addresses instead of scanning the whole subnet behind the Secure Gateway, making discovery faster and more precise. Individual addresses and ranges can be combined and duplicates are removed automatically.
FileList
- HPECOMCmdlets.nuspec
- Modules\GLP-Users-Roles-Permissions.psm1
- HPECOMCmdlets.Format.ps1xml
- README.md
- Modules\COM-Alerts.psm1
- Modules\COM-Firmware-Bundles.psm1
- Modules\COM-Schedules.psm1
- Modules\COM-Webhooks.psm1
- Modules\GLP-Organizations.psm1
- Modules\GLP-Webhooks.psm1
- en-US\about_HPECOMCmdlets.help.txt
- Modules\COM-Appliances.psm1
- Modules\COM-Groups.psm1
- Modules\COM-Server-Locations.psm1
- Modules\Constants.psm1
- Modules\GLP-Regions.psm1
- Modules\GLP-Workspaces.psm1
- HPECOMCmdlets.psd1
- Modules\Auth-SSO.psm1
- Modules\COM-Approval-Policies.psm1
- Modules\COM-Job-Templates.psm1
- Modules\COM-Servers.psm1
- Modules\GLP-Devices.psm1
- Modules\GLP-Services.psm1
- Modules\Utilities.psm1
- HPECOMCmdlets.psm1
- Modules\COM-Activities.psm1
- Modules\COM-External-Services.psm1
- Modules\COM-Jobs.psm1
- Modules\COM-Settings.psm1
- Modules\GLP-Logs.psm1
- Modules\GLP-Subscriptions.psm1
- LICENSE
- Modules\COM-AI-Insights-Reports.psm1
- Modules\COM-Filters.psm1
- Modules\COM-Metrics-Configurations.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.27 (current version) | 22 | 11/4/2026 |
| 1.0.26 | 213 | 6/26/2026 |
| 1.0.25 | 156 | 5/13/2026 |
| 1.0.24 | 96 | 4/15/2026 |
| 1.0.23 | 112 | 3/17/2026 |
| 1.0.22 | 132 | 2/5/2026 |
| 1.0.21 | 78 | 2/2/2026 |
| 1.0.20 | 13 | 1/30/2026 |
| 1.0.19 | 68 | 1/19/2026 |
| 1.0.18 | 96 | 11/25/2025 |
| 1.0.17 | 84 | 10/13/2025 |
| 1.0.16 | 35 | 10/3/2025 |
| 1.0.15 | 136 | 7/11/2025 |
| 1.0.14 | 29 | 7/8/2025 |
| 1.0.13 | 168 | 4/18/2025 |
| 1.0.12 | 21 | 4/15/2025 |
| 1.0.11 | 246 | 1/31/2025 |
| 1.0.10 | 76 | 12/17/2024 |
| 1.0.9 | 38 | 11/18/2024 |
| 1.0.8 | 26 | 11/14/2024 |