- Community Home
- >
- Software
- >
- HPE OneView
- >
- HPOneView Posh
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
06-25-2015 07:47 AM
06-25-2015 07:47 AM
HPOneView Posh
not able to run any cmds after loading the hponeview.120 module in powershell.
any ideas?
after loading get-help returns this
Method not Found: 'System.Object System.Reflection.PropertyInfo.GetValue(System.Object)'
get-help works before the module is loaded
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
06-25-2015 01:35 PM
06-25-2015 01:35 PM
Re: HPOneView Posh
While we encourage customers and partners to discuss HP OneView here in these forums, please submit this issue to the POSH-HPOneView GitHub Issues Tracker. When opening an issue, please be very specific with what version of the library you downloaded, and what PowerShell version you have (output from $PSVersionTable should be provided), and include a screenshot of the error as well.
I am an HPE employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
08-19-2015 11:30 AM - edited 08-19-2015 11:52 AM
08-19-2015 11:30 AM - edited 08-19-2015 11:52 AM
Re: HPOneView Posh
I know this is an old thread, but I just found the resolution. When I published an updated 1.20 library, I added a required module (FormatPX) that addresses a limitation currently found in PowerShell; using Format-Table, Format-List or Format-Wide would change the source object to Microsoft.PowerShell.Commands.Internal.Format. This would cause objects to lose their original data type. FormatPX uses a C# .Net Reflection method that is apparently only found in the 4.5 and 4.6 .Net Client. If you install either the 4.5 or 4.6 .Net Client Library, this will resolve the issue your experiencing.
To find out what version of the .Net Client you have, open a PowerShell console and execute $PSVersiontable. If the CLRVersion value is 4.0.30319.1026 or older, you have the 4.0 .Net Client installed. If you install the 4.6 .Net Client, the CLRVersion will be 4.0.30319.42000.
I will be updating the installer and documentation to detect and note this change.
I am an HPE employee
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP