In this blog we can see by using the powershell script to get the below enclosure information.
Onboard Administrator hardware version
Enclosure Rack U Position
Enclosure part number
Onboard Administrator MAC address
We need HP powershell cmdlet to run the script and download it from the below link .
Install the HPOACmdlets-x64.msi and look for the pdf for the installation steps.
Get-Help *hp* – It will show all the commands related to the HP
Get-Help *hpoa* – It will show all the commands related to the HP-onboard administrator.
We need Get-HPOAEnclosureInfo cmdlet to get the Enclosure information.
Also use the below HP cmdlets to get various function of the enclosure. just replace the appropriate cmdlet on the script.