Repository navigation
Release v1.0.28
🎯 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 -Workspacenow connects to newly created workspaces. A workspace you just created, in the GreenLake console or withNew-HPEGLWorkspace, could fail with "Workspace not found or not accessible" for some time, although it was listed byGet-HPEGLWorkspaceand could be opened in the console.Connect-HPEGL -Workspace(andConnect-HPEGLWorkspace -Name) now connects to it directly.- Clearer error when signed in without a workspace. When several workspaces are available and you run
Connect-HPEGLwithout-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-HPEGLDeviceAutoSubscriptionnow 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 thatSet-HPEGLDeviceAutoSubscriptionconfigures 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 -JobResourceUrino 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 toGet-HPECOMJob.Remove-HPEGLWorkspaceno 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.-ValidatePrerequisitesnow also reports this situation.
Improvements
-
New-HPEGLWorkspace -InOrganizationcreates a workspace inside your organization. Until now,New-HPEGLWorkspacealways created a standalone workspace, even when you were connected to an organization workspace, so the organization could not see or manage it. The new-InOrganizationswitch creates the workspace as a member of the current organization, like IAM and organization → Member workspaces → Create member workspace in the console. Use-Descriptionto 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.28Or update from a previous version:
Update-Module -Name HPECOMCmdlets