If you work in an environment with HP servers, this function will help you get hardware information from the HP Insight Management WBEM providers if you have them installed. It uses CIM to query several HP specific classes in the root\hpq namespace. The following information will be returned by the function:

  • ComputerName
  • HealthState
  • LocationIndicator
  • SerialNumber
  • ProductID
  • ManagementProcessorType
  • ManagementProcessorIpAddress
  • ManagementProcessorLicense
  • ManagementProcessorLicenseKey
  • ManagementProcessorFirmware
  • EnclosureName
  • EnclosurePosition
  • Software
    • Caption
    • ElementName
    • VersionString
    • Description
  • ROM
    • Name
    • ElementName
    • VersionString
  • HBA
    • Manufacturer
    • Model
    • SerialNumber
    • PortWWN
    • NodeWWN
    • Location
    • OperationalStatus
    • PortNumber
    • PortType
    • DriverVersion
    • AdapterFirmware
    • AdapterBIOS
  • StorageVolume
    • Name
    • DeviceID
    • ElementName
    • OSName
    • BlockSize
    • StripeSize
    • FaultTolerance
    • ExtentStatus
  • DiskDrive
    • Name
    • SystemName
    • ElementName
    • Description
    • DriveRotationalSpeed
    • TotalPowerOnHours
    • OperationalStatus
  • ArraySystem
    • Name
    • ElementName
  • Memory
    • Name
    • Capacity
    • MaxMemorySpeed
    • IsSpeedInMhz
    • HealthState
    • DataWidth
    • TotalWidth
    • InterleavePosition
  • CPU
    • Name
    • DeviceID
    • Description
    • Family
    • Status
    • HealthState
    • NumberOfEnabledCores
    • AddressWidth
    • DataWidth
    • MaxClockSpeed
    • CurrentClockSpeed
    • ExternalBusClockSpeed
  • NetworkTeam
    • VendorIdentifyingInfo
    • Caption
    • Description
    • RedundancyStatus
    • OperationalStatus
    • OperatingMode
    • LoadBalanceAlgorithm
    • OtherLoadBalanceAlgorithm
    • Speed
    • MaxTransmissionUnit
    • PortsConfigured
    • MinimumPortsNeeded

The ComputerName parameter takes a string array, so you could potentially run this against all HP servers in your environment, but be warned that it will take some time, due to the many WMI queries being made. You could combine this function with my runspace functions to speed things up though.

Hopefully this function will be useful for someone else besides myself, and as always, let me know if you have suggestions for improvements or find any bugs.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s