< Back
Get-HPESysInfoEnclosure
Post
NAME Get-HPESysInfoEnclosure
SYNOPSIS
Get information about the server enclosure.
SYNTAX
Get-HPESysInfoEnclosure [[-Username] <String>] [[-Password] <String>] [<CommonParameters>]
Get-HPESysInfoEnclosure [-Credential <PSCredential>] [<CommonParameters>]
DESCRIPTION
Get information about the server enclosure including the enclosure type, enclosure model number, chassis part
number, assembly part number, enclosure serial number, manufacturer, chassis dimensions, and number of bay slots.
PARAMETERS
-Username [<String>]
Username to log onto the target iLO. Username needs to be provided as an input along with Password. This
parameter is required when the iLO security is enabled.
ParameterSetName: UsernamePasswordSet
Required? false
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Password [<String>]
Password to log onto the target iLO. Password needs to be provided along with Username. This parameter is
required when the iLO security is enabled.
ParameterSetName: UsernamePasswordSet
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Credential [<PSCredential>]
Holds the target iLO Credential in a secure manner. This parameter is required when the iLO security is
enabled.
ParameterSetName: CredentialSet
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
System.Object
NOTES
Status
The value returned in the "Status" property reflects the data retrieval operation of a cmdlet. It does not
reflect the component status. When a cmdlet returns ???????Status: Error??????? or ???????Status: Warning???????, it indicates that
the operation to retrieve the data was not successful. The ???????StatusInfo??????? message specifies the reason for the
data retrieval operation failure. If the data retrieval operation is successful, "Status: OK" is returned for
the cmdlet, and the component status is displayed in the Health property and/or other properties of the PS
object.
EXAMPLE 1
Get an object of Get-HPESysInfoEnclosure and show information about enclosure.PS C:\\> $encl =
Get-HPESysInfoEnclosure -Username username -Password password
PS C:\\> $encl
EnclosureType : G1
EnclosureModelNumberAndProductId : @{ModelZeroPartNumber=802322-B21; ChassisPartNumber=000000-010;
AssemblyPartNumber=808745-001; EnclosureModel=Synergy 12000 Frame}
EnclosureSerialNumber : @{PCASerialNumber=00000000000014; ChassisSerialNumber=CN75140CQX}
Manufacturer : HPE
ChassisDimensions : @{ChassisWidth=482; ChassisHeight=442}
NumberOfBaySlotsAndInterconnectSlots : {@{DevType=Enclosure; Name=Frame}, @{Count=12; DevType=BladeBay;
Location=Front; Name=Devices}, @{Count=6; DevType=ICM; Location=Rear;
Name=Interconnects}, @{Count=2; DevType=CIM; Name=Appliances}...}
EnclosureStatus : Warning
OnboardAdministrator : @{IPv4Address=Not Available; IPv6=; MACAddress=Not Available}
Status : OK
EXAMPLE 2
Get an object of Get-HPESysInfoEnclosure and show information about bay slots and interconnect slots.PS C:\\> $encl
= Get-HPESysInfoEnclosure -Credential $credential
PS C:\\> $encl.NumberOfBaySlotsAndInterconnectSlots
DevType Name
------- ----
Enclosure Frame
BladeBay Devices
ICM Interconnects
CIM Appliances
EM Frame Links
Display Front Panel
Fan Fans
PS Power Supplies
MaxMezzPerBB Max Mezz per Blade Bay
MaxPortsPerMezz Max Ports per Mezz
MaxLanesPerMezzPort Max Lanes per Mezz Port
MaxJSxPerIcm Max JSx Connectors per ICM
MaxBBPerBBB Max Bays per Bundle of Blade Bays
BayStride BB slot stride per Enclosure
NumberOfFanRows Number of fan rows per Enclosure
EXAMPLE 3
Get an object of Get-HPESysInfoEnclosure and show information about enclosure model number and product ID.PS C:\\>
$encl = Get-HPESysInfoEnclosure
PS C:\\> $encl.EnclosureModelNumberAndProductId
ModelZeroPartNumber ChassisPartNumber AssemblyPartNumber EnclosureModel
------------------- ----------------- ------------------ --------------
802322-B21 000000-010 808745-001 Synergy 12000 Frame
RELATED LINKS
http://www.hpe.com/servers/powershell
SYNOPSIS
Get information about the server enclosure.
SYNTAX
Get-HPESysInfoEnclosure [[-Username] <String>] [[-Password] <String>] [<CommonParameters>]
Get-HPESysInfoEnclosure [-Credential <PSCredential>] [<CommonParameters>]
DESCRIPTION
Get information about the server enclosure including the enclosure type, enclosure model number, chassis part
number, assembly part number, enclosure serial number, manufacturer, chassis dimensions, and number of bay slots.
PARAMETERS
-Username [<String>]
Username to log onto the target iLO. Username needs to be provided as an input along with Password. This
parameter is required when the iLO security is enabled.
ParameterSetName: UsernamePasswordSet
Required? false
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Password [<String>]
Password to log onto the target iLO. Password needs to be provided along with Username. This parameter is
required when the iLO security is enabled.
ParameterSetName: UsernamePasswordSet
Required? false
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Credential [<PSCredential>]
Holds the target iLO Credential in a secure manner. This parameter is required when the iLO security is
enabled.
ParameterSetName: CredentialSet
Required? false
Position? named
Default value None
Accept pipeline input? True (ByPropertyName)
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None
OUTPUTS
System.Object
NOTES
Status
The value returned in the "Status" property reflects the data retrieval operation of a cmdlet. It does not
reflect the component status. When a cmdlet returns ???????Status: Error??????? or ???????Status: Warning???????, it indicates that
the operation to retrieve the data was not successful. The ???????StatusInfo??????? message specifies the reason for the
data retrieval operation failure. If the data retrieval operation is successful, "Status: OK" is returned for
the cmdlet, and the component status is displayed in the Health property and/or other properties of the PS
object.
EXAMPLE 1
Get an object of Get-HPESysInfoEnclosure and show information about enclosure.PS C:\\> $encl =
Get-HPESysInfoEnclosure -Username username -Password password
PS C:\\> $encl
EnclosureType : G1
EnclosureModelNumberAndProductId : @{ModelZeroPartNumber=802322-B21; ChassisPartNumber=000000-010;
AssemblyPartNumber=808745-001; EnclosureModel=Synergy 12000 Frame}
EnclosureSerialNumber : @{PCASerialNumber=00000000000014; ChassisSerialNumber=CN75140CQX}
Manufacturer : HPE
ChassisDimensions : @{ChassisWidth=482; ChassisHeight=442}
NumberOfBaySlotsAndInterconnectSlots : {@{DevType=Enclosure; Name=Frame}, @{Count=12; DevType=BladeBay;
Location=Front; Name=Devices}, @{Count=6; DevType=ICM; Location=Rear;
Name=Interconnects}, @{Count=2; DevType=CIM; Name=Appliances}...}
EnclosureStatus : Warning
OnboardAdministrator : @{IPv4Address=Not Available; IPv6=; MACAddress=Not Available}
Status : OK
EXAMPLE 2
Get an object of Get-HPESysInfoEnclosure and show information about bay slots and interconnect slots.PS C:\\> $encl
= Get-HPESysInfoEnclosure -Credential $credential
PS C:\\> $encl.NumberOfBaySlotsAndInterconnectSlots
DevType Name
------- ----
Enclosure Frame
BladeBay Devices
ICM Interconnects
CIM Appliances
EM Frame Links
Display Front Panel
Fan Fans
PS Power Supplies
MaxMezzPerBB Max Mezz per Blade Bay
MaxPortsPerMezz Max Ports per Mezz
MaxLanesPerMezzPort Max Lanes per Mezz Port
MaxJSxPerIcm Max JSx Connectors per ICM
MaxBBPerBBB Max Bays per Bundle of Blade Bays
BayStride BB slot stride per Enclosure
NumberOfFanRows Number of fan rows per Enclosure
EXAMPLE 3
Get an object of Get-HPESysInfoEnclosure and show information about enclosure model number and product ID.PS C:\\>
$encl = Get-HPESysInfoEnclosure
PS C:\\> $encl.EnclosureModelNumberAndProductId
ModelZeroPartNumber ChassisPartNumber AssemblyPartNumber EnclosureModel
------------------- ----------------- ------------------ --------------
802322-B21 000000-010 808745-001 Synergy 12000 Frame
RELATED LINKS
http://www.hpe.com/servers/powershell