- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- Find ilo ip and server model(esxi is deployed on t...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2019 01:52 AM
06-21-2019 01:52 AM
Find ilo ip and server model(esxi is deployed on the HP servers)
Hello All, i have been asked to get the list of servers in our environment their ilo IP, server model, and firmware version.
looking for a script to get these info
$strHostsClusterName = "Cluster Name"
Get-View -ViewType HostSystem -Property Name, Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo -SearchRoot (Get-View -ViewType ClusterComputeResource -Property Name -Filter @{"Name" = "^$([RegEx]::escape($strHostsClusterName))$"}).MoRef | %{
$arrNumericSensorInfo = @($_.Runtime.HealthSystemRuntime.SystemHealthInfo.NumericSensorInfo)
# HostNumericSensorInfo for BIOS, iLO, array controller
$nsiBIOS = $arrNumericSensorInfo | ? {$_.Name -like "*System BIOS*"}
$nsiArrayCtrlr = $arrNumericSensorInfo | ? {$_.Name -like "HP Smart Array Controller*"}
$nsiILO = $arrNumericSensorInfo | ? {$_.Name -like "Hewlett-Packard BMC Firmware*"}
$esxName = $_.Name
$esxcli = Get-EsxCli -VMHost $_.Name
$esxcli.network.nic.list() | %{
$esxcli.network.nic.get($_.Name) | %{
$props = [ordered]@{
VMHost = $esxName
"SystemBIOS" = $nsiBIOS.name
"HPSmartArray" = $nsiArrayCtrlr.Name
"iLOFirmware" = $nsiILO.Name
"nx_nic device" = $_.Name
"nx_nic driver" = $_.DriverInfo.Driver
"nx_nic driver version" = $_.DriverInfo.Version
"nx_nic firmware version" = $_.DriverInfo.FirmwareVersion
} ## end new-object
New-Object PSObject -Property $props
}
}
} | Export-Csv C:\inventory.csv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2019 03:41 AM
06-24-2019 03:41 AM
Re: Find ilo ip and server model(esxi is deployed on the HP servers)
Hi Vijay,
Thanks for writing to us.
First and foremost we dont support any customized or any 3rd Party Scripts on our servers.
You might have to contact the Vendor on there scripts work to pull the hardware inventory., it might work fine or may not HPE does not hold any responsiblity of the functionality.
I can suggest you our HPE software to pull the invnetoy of HPE servers which is System Insight Manager:
SIM Features:
Inventory Management and Reporting
- The HPE Systems Insight Manager software discovers and identifies devices, and provides access to inventory data in a database.
- Generate pre-defined reports or create your own reports. You can edit, copy, and delete report configurations.
- Schedule reports and have them emailed to you as needed.
- Obtain contract and warranty reports when you integrate HPE SIM with HPE Insight Remote Support.
For more info on SIM please visit
https://www.hpe.com/in/en/product-catalog/detail/pip.489496.html
Thanks,
Vijaya
I work for HPE

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2019 09:38 AM
06-24-2019 09:38 AM
Re: Find ilo ip and server model(esxi is deployed on the HP servers)
We most certainly support scripts and command line utilities., I'm not sure what tools HPE offers for ESXi as I'm not familiar with VMware , HPE does provide tools such as the ProLiant Scripting Toolkit for Linux and Windows as well as many Powershell cmdlets There are many other scripts and tools created by users to gather ProLiant system information. I use a script I found many years ago called findilos.sh that crawls the network and finds every iLO and will gather the iLO IP Address, iLO HW, iLO FW, Server S/N, and Server Model. The script runs on any system that supports bash and the other GNU itlities required to make the script work (nmap and curl). This script provides most of the information you are requesting, but it is only presenting some of the information in the output, the script gathers a lot more, you can modify the output I've updated and modified it over the years to include newer versions of the iLO ASIC This thread discusses and old version of the script. The 'nachotech' blog where it originated doesn't' appear to be around anymore, but there is also a version somebody put in github