Repository navigation
🎯 What's New in v1.0.29
New Cmdlets
Firmware analysis report, with resolved advisories and bulletins
-
Get-HPECOMFirmwareAnalysisReport: Returns the Compute Ops Management firmware analysis report (AI Insights > Firmware analysis in the console). For each server generation, Compute Ops Management compares every server with the latest firmware baseline and reports what an update would change, including the security bulletins and customer advisories it resolves. The analysis is kept up to date by Compute Ops Management when the server inventory changes, when an advisory or bulletin is updated, or when a new baseline is supported, so there is nothing to run first.
Without a switch, the cmdlet returns the report summary for each generation. The switches give the same details as the console tabs:
-ShowServersToUpdate: servers to update, with components to update, critical updates, advisories resolved, reboot requirement and download size-ShowComponentsToUpdate: components to update, with update category, reboot requirement, number of servers and advisories resolved (-UpdateCategoryfilter)-ShowAdvisories: security bulletins and customer advisories resolved, with severity, title, number of servers affected and a link to the HPE support document (-Severityand-Typefilters)-ShowServersUpToDateand-ShowServersNotAnalyzed: servers already compliant, and servers that could not be analyzed with the reason
-Generationlimits the report to one server generation, and-ServerNamefilters the server lists. The server lists can be piped toUpdate-HPECOMServerFirmwareandUpdate-HPECOMGroupServerFirmware.# Critical and high security bulletins resolved by the latest baselines Get-HPECOMFirmwareAnalysisReport -Region eu-central -ShowAdvisories -Severity Critical, High -Type 'Security Bulletin' # Preview an update of every server whose update resolves at least one advisory or bulletin Get-HPECOMFirmwareAnalysisReport -Region eu-central -ShowServersToUpdate | Where-Object advisoriesResolved -gt 0 | Update-HPECOMServerFirmware -FirmwareBaselineReleaseVersion 2026.09.00.00 -WhatIf
Hardware verification
Hardware verification lets Compute Ops Management detect when a component is added to a server, removed from it or modified (memory, drives, processors, power supplies, chassis and devices such as storage controllers or network adapters). Once it is enabled in the iLO settings of a group, Compute Ops Management records a trusted baseline of each server's hardware. When something changes, the server's hardware verification status becomes RISK until you review the change and accept it.
- Get-HPECOMGroupServerHardwareVerification: Returns the hardware verification status of the servers in a group, with the categories of the components that changed and when and by whom the baseline was last accepted.
-Statusfilters on the status (OK,RISK,NOT_ENABLED,UNKNOWN) and-ServerNametargets one server.-ShowChangeslists each change with its category, type (Added, Removed, Modified), component name, location, model and serial number, the modified properties, and the old and new values. - Approve-HPECOMGroupServerHardwareChange: Accepts the hardware changes of one or more servers, so their current hardware becomes the new trusted baseline and their status returns to
OK. When no server is given, the changes of every server with aRISKstatus in the group are accepted. Servers that are not members of the group, that have nothing to accept or that do not have hardware verification enabled are reported with aWarningstatus. Supports-WhatIf.
# Enable hardware verification in an iLO settings used by the group
Set-HPECOMSettingiLOSettings -Region eu-central -Name 'iLO settings for AI servers' -HardwareVerification Enabled
# Groups with servers at risk
Get-HPECOMGroup -Region eu-central -ShowSecurityStatus
# Review the changes, then accept them
Get-HPECOMGroupServerHardwareVerification -Region eu-central -GroupName AI_Group -ShowChanges
Get-HPECOMGroupServerHardwareVerification -Region eu-central -GroupName AI_Group -Status RISK | Approve-HPECOMGroupServerHardwareChangeCustom roles
HPE GreenLake grants permissions through roles. When no built-in role has exactly the permissions you need, you can now build your own from PowerShell instead of the web console. Custom roles are assigned like any built-in role, with Add-HPEGLRoleToUser and Add-HPEGLRoleToUserGroup.
- Get-HPEGLPermission: Lists the permissions that can be used in custom roles, for the HPE GreenLake platform (default) or another service such as Compute Ops Management.
-Namefilters on the permission name or description, with wildcards. - New-HPEGLCustomRole: Creates a custom role from a list of permissions, from the permissions of an existing role (
-BasedOnRole), or both. Duplicate names, unknown base roles and permissions that cannot be used in custom roles are reported before anything is created. - Set-HPEGLCustomRole: Renames a custom role, changes its description, adds or removes permissions (
-AddPermission,-RemovePermission), or replaces them all (-Permission). Users and groups that hold the role get the change immediately. - Remove-HPEGLCustomRole: Deletes custom roles. Built-in roles are protected.
All four cmdlets support -WhatIf. Custom roles require a workspace with enhanced identity and access management, and each custom role belongs to a single workspace.
# Workspace Observer, plus the right to add and manage devices
Get-HPEGLPermission -Name '*device*'
New-HPEGLCustomRole -Name 'Device Operator' -BasedOnRole 'Workspace Observer' `
-Permission 'ccs.device-management.device.create', 'ccs.device-management.device.update'
Add-HPEGLRoleToUserGroup -GroupName 'Lab-Team' -RoleName 'Device Operator'
# Later changes
Set-HPEGLCustomRole -Name 'Device Operator' -AddPermission 'ccs.device-management.device.delete'
Remove-HPEGLCustomRole -Name 'Device Operator'Bug Fixes
-
Get-HPEGLRole: Fixed
-ServiceName 'GreenLake Platform'returning nothing, which made it impossible to list the permissions (-ShowPermissions) or the assigned users (-ShowAssignedUsers) of a platform role chosen by name, including custom roles.GreenLake Platformis the service name shown in theGet-HPEGLRoleoutput.Get-HPEGLRole -ServiceName 'GreenLake Platform' -ServiceRole 'Device Operator' -ShowPermissions
-
Get-HPECOMServer -ShowSecurityParameters: Fixed the
OverallSecurityStatuscolumn that had become empty. It shows the overall security status again. -
New-HPEGLSubscription: When a subscription key is already claimed in another workspace, the result now says so clearly, names the workspace (or shows its ID when you have no access to it), and explains how to release the key, instead of the generic "Subscription validation failed" message.
Improvements
-
New-HPECOMSettingiLOSettings and Set-HPECOMSettingiLOSettings: New
-HardwareVerification Enabled|Disabledparameter to turn hardware verification on or off.Set-HPECOMSettingiLOSettingskeeps the current value when the parameter is not used. -
Get-HPECOMServer -ShowSecurityParameters: New
iLOSecurityStatusandHardwareVerificationcolumns. -
Get-HPECOMGroup: New
-ShowSecurityStatusswitch that returns the security status of each group, with the number of servers per overall security, iLO security and hardware verification status. -
Get-HPEGLRole: The
Typecolumn now showsCustomfor custom roles, next toBuilt-infor predefined roles. -
Get-HPEGLAPICredential: New
-AllUsersswitch for workspace administrators that returns the personal API clients of every user of the workspace, with their owner, status and creation date. It helps audit API access across the organization, for example to find temporary credentials left by sessions that were not closed withDisconnect-HPEGL.Get-HPEGLAPICredential -AllUsers | Group-Object username | Select-Object Count, Name Get-HPEGLAPICredential -AllUsers | Where-Object { $_.name -match 'COM_PS_Library_Temp_Credential' -and $_.createdAt -lt (Get-Date).AddDays(-30) }
Installation
Install-Module -Name HPECOMCmdlets -RequiredVersion 1.0.29Or update from a previous version:
Update-Module -Name HPECOMCmdlets