- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Powershell 7 and HPECmdlets
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday - last edited 13 hours ago by support_s
yesterday - last edited 13 hours ago by support_s
Powershell 7 and HPECmdlets
Recently upgraded to pwsh 7 and having a problem with hpecmdlets (ilo, bios, ssa) not being found when pwsh 7 is opened up.
I have the modules in the correct folder where Pwsh can see them with get-module -listavailable, but the "exported commands" fields are blank,
Do hpecmdlets need a special installation method for pwsh 7? Or do they only work properly on non-core powershell versions?
- Tags:
- ProLiant Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
yesterday
Re: Powershell 7 and HPECmdlets
Hello @InsightAutomato ,
HPE’s iLO, BIOS, and SSA cmdlets were originally built for Windows PowerShell (the “full” .NET Framework edition), not PowerShell 7 (Core). They don’t export commands properly in pwsh 7 because they rely on .NET Framework APIs that aren’t available in .NET Core. To use them, you either need to run them in Windows PowerShell 5.1 or check for newer HPE modules that explicitly support PowerShell 7.
If you’re managing older servers (Gen7–Gen9):
1. Run the cmdlets in Windows PowerShell 5.1 (not pwsh 7).
2. You can launch it side-by-side with pwsh 7; both can coexist.
If you’re managing newer servers (Gen10+):
1. Install the updated modules from the PowerShell Gallery:
Install-Module -Name HPEiLOCmdlets
Install-Module -Name HPEBIOSCmdlets
Install-Module -Name HPESmartArrayCmdlets
2. Alternative approach: Use HPE’s Redfish REST API directly with PowerShell 7 scripts if cmdlets aren’t available for your hardware generation.
Thank You!
I work with HPE but opinions expressed here are mine.
HPE Tech Tips videos on How To and Troubleshooting topics
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]