NAME

Get-HPOVEnclosure

SYNOPSIS

Retrieve enclosure information.

SYNTAX

Get-HPOVEnclosure [-name <String>] [-Report] [<CommonParameters>]
Get-HPOVEnclosure [-name <String>] [-exportFile <String>] [<CommonParameters>]

DESCRIPTION

Obtain a collection of enclosure hardware resources which have the specified name.

PARAMETERS

-name <String>
The name of the enclosure hardware resource to be returned. All enclosure hardware resources will be returned if ommitted.
Aliases none
Required? false
Position? 1
Default value <none>             
Accept pipeline input? false
Accept wildcard characters?    false
-exportFile <String>
Optional. Full path and file name to save the output of Get-HPOVEnclosure.
Aliases x, export
Required? false
Position? 2
Default value <none>             
Accept pipeline input? false
Accept wildcard characters?    false

-Report [<SwitchParameter>]

Optional. Generate report of enclosure, including device bays, interconnect bays, and reported firmware for components.
Aliases none
Required? false
Position? named
Default value False                 
Accept pipeline input? false
Accept wildcard characters?    false


<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

None.

OUTPUTS

Single Enclosure:  System.Management.Automation.PSCustomObject
Multiple Enclosures:  System.Array

The matching enclosure hardware resources.

RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------

PS C:\> $enclosures = Get-HPOVEnclosure
Return all the enclosure hardware managed by the appliance.

 

-------------------------- EXAMPLE 2 --------------------------

PS C:\> $enclosure = Get-HPOVEnclosure "A"
Return the enclosure hardware resource with name "A".

 

-------------------------- EXAMPLE 3 --------------------------

PS C:\> Get-HPOVEnclosure Encl1 -report
Enclosure Name Serial Number Enclosure Model                Rack Name FW Managed Baseline Name
-------------- ------------- ---------------                --------- ---------- -------------
Encl1          SGH100X6J1    BladeSystem c7000 Enclosure G2 Rack-173       False

Licensing
---------
OneView

OA Bay Role    IP Address  Firmware Version
------ ----    ----------  ----------------
     1 Active  172.18.1.11 4.01 April 01 2013
     2 Standby 172.18.1.12 4.01 April 01 2013

Server Name   Serial Number Model       System ROM     iLO Firmware Version  Server Profile Licensing
-----------   ------------- -----       ----------     --------------------  -------------- ---------
Encl1, bay 1  SGH100X5RN    BL660c Gen8 I32 05/30/2012 iLO4 1.30 Jul 02 2013 No Profile     OneView
Encl1, bay 11 SGH106X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 Profile 11     OneView
Encl1, bay 12 SGH107X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 Profile 12     OneView
Encl1, bay 13 SGH108X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 Profile 13     OneView
Encl1, bay 14 SGH109X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 Profile 14     OneView
Encl1, bay 15 SGH110X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 Profile 15     OneView
Encl1, bay 16 SGH111X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 Profile 16     OneView
Encl1, bay 2  SGH101X5RN    BL660c Gen8 I32 05/30/2012 iLO4 1.30 Jul 02 2013 No Profile     OneView
Encl1, bay 3  SGH100X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 test 2         OneView
Encl1, bay 4  SGH101X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 No Profile     OneView
Encl1, bay 5  SGH102X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 No Profile     OneView
Encl1, bay 6  SGH103X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 No Profile     OneView
Encl1, bay 7  SGH104X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 No Profile     OneView
Encl1, bay 8  SGH105X8RN    BL460c Gen8 I27 09/30/2011 iLO4 1.30 Jul 02 2013 No Profile     OneView

Interconnect Name     Module                               Serial Number Firmware Version
-----------------     ------                               ------------- ----------------
Encl1, interconnect 1 HP VC FlexFabric 10Gb/24-Port Module WECFSED100    4.10
Encl1, interconnect 2 HP VC FlexFabric 10Gb/24-Port Module WECFSED101    4.10

      Interconnect Name     Logical Interconnect State      Status Consistency state
----- -----------------     -------------------- -----      ------ -----------------
      Encl1, interconnect 1 Encl1-LI             Configured OK     Consistent
      Encl1, interconnect 2 Encl1-LI             Configured OK     Consistent
Generate a report of Encl1.

Last edited Feb 24, 2014 at 6:03 PM by ChrisLynchHP, version 7