- Community Home
- >
- Software
- >
- HPE OneView
- >
- Re: Get-HPOVEnclosure throws error when using -Rep...
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
Discussions
Discussions
Forums
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
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
тАО01-16-2019 11:42 PM
тАО01-16-2019 11:42 PM
Get-HPOVEnclosure throws error when using -Report
We got the Synergy 12000 Frame for POC, and I was testing some Powershell examples and found out that, if using following will give us incomplete report (stops after that).
Get-HPOVEnclosure -Report
The error messages:
Interconnect Name Logical Interconnect State Status Consistency state
----- ----------------- -------------------- ----- ------ -----------------
Frame01, interconnect 1 LE_1-LIG_SAS-1 Configured OK
Frame01, interconnect 3 LE_1-LIG_VC_Default Configured OK Consistent
Frame01, interconnect 4 LE_1-LIG_SAS-1 Configured OK
Frame01, interconnect 6 LE_1-LIG_VC_Default Configured OK Consistent
Enclosure-Report : Cannot validate argument on parameter 'uri'. -URI must being with a '/' (eg. /rest/server-hardware) in its value. Please correct the value and try again.
At C:\Program Files\WindowsPowerShell\Modules\HPOneView.410\4.10.1889.2173\HPOneView.410.psm1:41425 char:45
+ ... $_EnclosureCollection | ForEach-Object { Enclosure-Report $_ }
+ ~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidData: (:) [Enclosure-Report], ParameterBindingValidationException
+ FullyQualifiedErrorId : ParameterArgumentValidationError,Enclosure-Report
We have only one Enclosure if that matters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-18-2019 07:18 AM
тАО01-18-2019 07:18 AM
Re: Get-HPOVEnclosure throws error when using -Report
Hello,
Ideally, the commnad should not return any error.
May be try like this..
Get-HPOVEnclosure >>> Use this comamnd and get the Enclosure name.
Get-HPOVEnclosure -Name Encl1 -report >>> use the command with with enclosure name from above command.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-20-2019 11:35 PM
тАО01-20-2019 11:35 PM
Re: Get-HPOVEnclosure throws error when using -Report
There is exactly the same error, as this Frame have only one Enclosure it is same if we use the "-Name " parameter for command or not.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2019 10:34 AM
тАО01-31-2019 10:34 AM
Re: Get-HPOVEnclosure throws error when using -Report
Hello,
Somehow i am able to use the command without any issues and not exactly sure why the error was reporting on your setup..
Whether you still getting same error ?
if so, would suggest to log a support case to get more details.
Regards,
Sharis.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2019 06:09 AM
тАО02-01-2019 06:09 AM
Re: Get-HPOVEnclosure throws error when using -Report
Are you testing this on an Synergy 12000 Frame? We have two of them (different site) and both on them give us the error when using
Get-HPOVEnclosure -Name <FrameName> -report
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-04-2019 10:58 AM
тАО02-04-2019 10:58 AM
Re: Get-HPOVEnclosure throws error when using -Report
To discuss or report issues with the HPE OneView PowerShell library, please use the project issue tracker.
I am an HPE employee