HPE OneView
1752579 Members
4174 Online
108788 Solutions
New Discussion юеВ

Re: PowerShell - Get-Enclosure and Server Bay

 
BlackTea
Visitor

PowerShell - Get-Enclosure and Server Bay

Hello,

Does any one have any example how can i create a report to get all enclorures and list and the servers that are in each bay? 

 

I was hoping something like Get-HPOVEnclosure  | Get-HPOVServer but the cmdlet does not take parameter. 

Get-HPOVEnclosure - report just gives too much data. 

 

Thank you, 

2 REPLIES 2
Bruce_Lundeby
Frequent Advisor

Re: PowerShell - Get-Enclosure and Server Bay

You might consider using OneView Global Dashboard to help you create reports like this. It is a free product which monitors one or more OneView appliances and collates data to provide a view of the overall status of all of your OneView instances and helps simplify generating reports.

https://h20392.www2.hpe.com/portal/swdepot/displayProductInfo.do?productNumber=Z7550-63371

 

ChrisLynch
HPE Pro

Re: PowerShell - Get-Enclosure and Server Bay

You are correct the Cmdlets do not take pipeline like that. However, since BladeSystem server names, you can do the following:

Get-HPOVServer -Name EnclsoureName*
The Name parameters in the Cmdlets typically support the * wildcard character where documented.

I am an HPE employee

Accept or Kudo