-
Notifications
You must be signed in to change notification settings - Fork 52
Get HPOVEnclosure
Retrieve Enclosure resource(s).
Get-HPOVEnclosure [-Name] <String>[ [-Scope] <Object>][ [-Label] <String>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Get-HPOVEnclosure [-Name] <String>[ [-Scope] <Object>][ [-Label] <String>][ [-ApplianceConnection] <Array>][ [-Report] <SwitchParameter>] [<CommonParameters>]
Get-HPOVEnclosure [-Name] <String>[ [-Scope] <Object>][ [-Label] <String>][ [-ApplianceConnection] <Array>] [-exportFile] <String> [<CommonParameters>]
Obtain a collection of enclosure hardware resources which have the specified name.
-ApplianceConnection <Array>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Label <String>
Specify the label associated with resources.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Name <String>
The name of the enclosure hardware resource to be returned. All enclosure hardware resources will be returned if omitted.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Report <SwitchParameter>
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 |
-Scope <Object>
Filter resources based on provided Scope membership. By default, all resources for the accounts Active Permissions will be displayed. Allowed values:
* AllResources
* AllResourcesInScope
* HPOneView.Appliance.ScopeCollection
* HPOneView.Appliance.ConnectionPermission
Aliases | None |
Required? | false |
Position? | named |
Default value | AllResourcesInScope |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-exportFile <String>
Aliases [-x, -export] Full path and file name to save the output of Get-HPOVEnclosure.
Aliases | x, export |
Required? | true |
Position? | named |
Default value | |
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)
None. You cannot pipe objects to this cmdlet.
System.Object
Enclosure Report
HPOneView.Enclosure [System.Management.Automation.PSCustomObject]
The matching enclosure hardware resources.
-------------------------- EXAMPLE 1 --------------------------$enclosures = Get-HPOVEnclosure
Return all the enclosure hardware managed by this appliance.
-------------------------- EXAMPLE 2 --------------------------$enclosure = Get-HPOVEnclosure -Name "A"
Return the enclosure hardware resource with name "A".
-------------------------- EXAMPLE 3 --------------------------Get-HPOVEnclosure Enclosure Name Serial Number Enclosure Model Rack Name State EG Populated Bays -------------- ------------- --------------- --------- ----- -- -------------- Encl1 SGH100X6J1 BladeSystem c7000 Enclosure G2 Rack-173 Monitored Default EG1 16/16 Encl2 SGH102X6J1 BladeSystem c7000 Enclosure G2 Rack-173 Monitored Default EG1 9/16
Display a brief list of the enclosures managed or monitored by the appliance.
-------------------------- EXAMPLE 4 --------------------------Get-HPOVEnclosure -Name 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.
- Add-HPOVEnclosure
- Get-HPOVEnclosureGroup
- New-HPOVEnclosureGroup
- Remove-HPOVEnclosure
- Remove-HPOVEnclosureGroup
- Reset-HPOVEnclosureDevice
- Set-HPOVEnclosure
- Set-HPOVEnclosureActiveFLM
- Set-HPOVEnclosureGroup
- Update-HPOVEnclosure
Retrieve Enclosure resource(s).
Get-HPOVEnclosure [-Name] <String>[ [-Scope] <Object>][ [-Label] <String>][ [-ApplianceConnection] <Array>] [<CommonParameters>]
Get-HPOVEnclosure [-Name] <String>[ [-Scope] <Object>][ [-Label] <String>][ [-ApplianceConnection] <Array>][ [-Report] <SwitchParameter>] [<CommonParameters>]
Get-HPOVEnclosure [-Name] <String>[ [-Scope] <Object>][ [-Label] <String>][ [-ApplianceConnection] <Array>] [-exportFile] <String> [<CommonParameters>]
Obtain a collection of enclosure hardware resources which have the specified name.
-ApplianceConnection <Array>
Aliases [-Appliance]
Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s).
Default Value: ${Global:ConnectedSessions} | ? Default
Aliases | Appliance |
Required? | false |
Position? | named |
Default value | (${Global:ConnectedSessions} | ? Default) |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Label <String>
Specify the label associated with resources.
Aliases | None |
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Name <String>
The name of the enclosure hardware resource to be returned. All enclosure hardware resources will be returned if omitted.
Aliases | None |
Required? | true |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-Report <SwitchParameter>
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 |
-Scope <Object>
Filter resources based on provided Scope membership. By default, all resources for the accounts Active Permissions will be displayed. Allowed values:
* AllResources
* AllResourcesInScope
* HPOneView.Appliance.ScopeCollection
* HPOneView.Appliance.ConnectionPermission
Aliases | None |
Required? | false |
Position? | named |
Default value | AllResourcesInScope |
Accept pipeline input? | false |
Accept wildcard characters? | False |
-exportFile <String>
Aliases [-x, -export] Full path and file name to save the output of Get-HPOVEnclosure.
Aliases | x, export |
Required? | true |
Position? | named |
Default value | |
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)
None. You cannot pipe objects to this cmdlet.
System.Object
Enclosure Report
HPOneView.Enclosure [System.Management.Automation.PSCustomObject]
The matching enclosure hardware resources.
-------------------------- EXAMPLE 1 --------------------------$enclosures = Get-HPOVEnclosure
Return all the enclosure hardware managed by this appliance.
-------------------------- EXAMPLE 2 --------------------------$enclosure = Get-HPOVEnclosure -Name "A"
Return the enclosure hardware resource with name "A".
-------------------------- EXAMPLE 3 --------------------------Get-HPOVEnclosure Enclosure Name Serial Number Enclosure Model Rack Name State EG Populated Bays -------------- ------------- --------------- --------- ----- -- -------------- Encl1 SGH100X6J1 BladeSystem c7000 Enclosure G2 Rack-173 Monitored Default EG1 16/16 Encl2 SGH102X6J1 BladeSystem c7000 Enclosure G2 Rack-173 Monitored Default EG1 9/16
Display a brief list of the enclosures managed or monitored by the appliance.
-------------------------- EXAMPLE 4 --------------------------Get-HPOVEnclosure -Name 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.
- Add-HPOVEnclosure
- Get-HPOVEnclosureGroup
- New-HPOVEnclosureGroup
- Remove-HPOVEnclosure
- Remove-HPOVEnclosureGroup
- Reset-HPOVEnclosureDevice
- Set-HPOVEnclosure
- Set-HPOVEnclosureActiveFLM
- Set-HPOVEnclosureGroup
- Update-HPOVEnclosure