Skip to content

Release v1.0.28

Choose a tag to compare

@jullienl jullienl released this 23 Nov 08:59
· 3 commits to main since this release

🎯 What's New in v1.0.28

Bug Fixes

  • Fixed a crash of the PowerShell session during automatic session renewal. When the module renewed your HPE GreenLake session in the background and the renewal was rejected, it could retry itself endlessly until PowerShell (or the VS Code PowerShell terminal) crashed. The renewal now stops after a limited number of attempts and reports a clear error asking you to reconnect with Connect-HPEGL.
  • Connect-HPEGL -Workspace now connects to newly created workspaces. A workspace you just created, in the GreenLake console or with New-HPEGLWorkspace, could fail with "Workspace not found or not accessible" for some time, although it was listed by Get-HPEGLWorkspace and could be opened in the console. Connect-HPEGL -Workspace (and Connect-HPEGLWorkspace -Name) now connects to it directly.
  • Clearer error when signed in without a workspace. When several workspaces are available and you run Connect-HPEGL without -Workspace, commands that need a workspace now explain that you are signed in but not connected to a workspace and show how to connect, instead of reporting that no session was found.
  • Get-HPEGLDeviceAutoSubscription now tells you when auto-subscription is not configured. Instead of returning nothing, it displays a warning explaining that no auto-subscription settings exist in the workspace and that Set-HPEGLDeviceAutoSubscription configures them.
  • Clearer "Unauthorized" errors. When HPE GreenLake rejects a request as unauthorized, cmdlets now explain the likely causes (expired session, changed roles, workspace no longer accessible) and show the command to reconnect, instead of the single word "Unauthorized".
  • Get-HPECOMJob -JobResourceUri no longer displays a "MetadataError … not a valid value for the Name variable" error. The job was returned correctly, but a misleading error was shown first. This also applied when piping job objects to Get-HPECOMJob.
  • Remove-HPEGLWorkspace no longer warns wrongly that the organization will be deleted. When removing the last member workspace of an organization, the confirmation stated that the organization itself would also be deleted, although the organization's own workspace remains. The warning now appears only when you remove the organization's own workspace while no other workspace remains in the organization. -ValidatePrerequisites now also reports this situation.

Improvements

  • New-HPEGLWorkspace -InOrganization creates a workspace inside your organization. Until now, New-HPEGLWorkspace always created a standalone workspace, even when you were connected to an organization workspace, so the organization could not see or manage it. The new -InOrganization switch creates the workspace as a member of the current organization, like IAM and organization → Member workspaces → Create member workspace in the console. Use -Description to add a description.

    Connect-HPEGL -Credential $credentials -Workspace "My organization workspace"
    New-HPEGLWorkspace -Name "MyNewWorkspace" -InOrganization -Street "1701 E Mossy Oaks Rd" -Country "United States"

Installation

Install-Module -Name HPECOMCmdlets -RequiredVersion 1.0.28

Or update from a previous version:

Update-Module -Name HPECOMCmdlets