Skip to content

jullienl/HPE-COM-PowerShell-Library

Repository files navigation

HPE Compute Ops Management PowerShell Library

The HPE Compute Ops Management PowerShell library (HPECOMCmdlets) 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.

Development is ongoing, and the library will be continuously updated to support new features as they are released by HPE.

Latest release

1.0.13
PS Gallery

📘 For detailed insights, tutorials, and updates, visit my blog: PowerShell Library for HPE Compute Ops Management.

Requirements

  • Supported PowerShell Version: 7 or higher.

    Note: PowerShell version 5 is no longer supported.

  • Supported PowerShell Editions: PowerShell Core version 7 or higher.

  • HPE Account: An HPE Account is necessary to connect to the HPE GreenLake platform and any Compute Ops Management services.

    Note: If you do not have an HPE Account, you can create one here. To learn how to create an HPE account, see Getting started with HPE GreenLake

    Note: To interact with an HPE GreenLake workspace and a Compute Ops Management instance using this library, you must have at least the Observer role for both HPE GreenLake Platform and Compute Ops Management service managers. This role grants view-only privileges. For modification capabilities, you need either the Operator (view and edit privileges) or the Administrator (view, edit, and delete privileges) role. Alternatively, you can create a custom role that meets your specific access requirements.

  • Supported authentication methodes:

    • Single-factor authentication.
    • Multi-factor authentication (MFA) using Google Authenticator or Okta Verify.
    • SAML Single Sign-On (SSO) but exclusively with Okta.

How to Install the Module

To install the library, use the following command to download and install the module from the official PowerShell Gallery:

Install-Module HPECOMCmdlets

How to Upgrade the Module

If you have already installed the module and need to update it to the latest version, run the following commands:

# Install or update HPECOMCmdlets module
Install-Module -Name HPECOMCmdlets -Force -AllowClobber

Support

If you encounter any issues or unexpected behavior, please open a new issue on my GitHub issue tracker for assistance.

For general questions or discussions that don't require tracking, join our GitHub Discussions.

Disclaimer

Please note that the HPE GreenLake APIs are subject to change. Such changes can impact the functionality of this library. We recommend keeping the library updated to the latest version to ensure compatibility with the latest API changes.

Want more?

🔗 PowerShell Gallery

License

This library is provided under the MIT License. See the full license text in the module manifest for more details.

Author

Lionel Jullien, Hewlett Packard Enterprise