- Community Home
- >
- Servers and Operating Systems
- >
- ProLiant
- >
- Server Management - Remote Server Management
- >
- Re: Help getting the SerialNumber using PowerShell
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- Report Inappropriate Content
11-22-2018 05:23 AM
11-22-2018 05:23 AM
Hello,
Pretty simple, I want to get the serial number using powershell from the iLO and it works ... but only for some of my servers (all are Proliant Gen 9)
Scripts> Connect-HPEBIOS -IP 10.xx.xx.xx -Username $ILOUsername -Password $ILOPassword -Verbose:$false |Get-HPEBIOSSystemInfo |fl IP : 10.xx.xx.xx Hostname : ILONAME.fq.dn Status : Warning StatusInfo : @{Category=PropertySupportability; Message=The property or properties listed in AffectedAttribute are not supported on the target server ProLiant DL380 Gen9. For more details about supported properties, see the cmdlet help or the Troubleshooting chapter of BIOS Cmdlets user guide.; AffectedAttribute=System.Collections.Generic.List`1[System.String]} Scripts> $iLOBiosConnection = Connect-HPEBIOS -IP 10.xx.xx.xx -Username $ILOUsername -Password $ILOPassword -Verbose:$false Scripts> $iLOBiosConnection DisableServerCertificateAuthenticationFlag : False Location : https://iloname.fq.dn/rest/v1/SessionService/Sessions/administrator5bf6a452074f8d09 RootUri : https://iloname.fq.dn/rest/v1 RootData : AttributeRegistry : HpBiosAttributeRegistryP89.1.1.60 ConnectionType : REST IP : 10.xx.xx.xx Hostname : ILONAME.fq.dn IsConnected : True Username : Administrator ProductName : ProLiant DL380 Gen9 CurrentROMFamily : P89 CurrentROMDate : 05/21/2018 CurrentROMVersion : P89 v2.60 (05/21/2018) BackupROMFamily : P89 BackupROMDate : 10/25/2017 BackupROMVersion : P89 v2.52 (10/25/2017) ProcessorInfo : Intel(R) Xeon(R) CPU E5-2698 v4 @ 2.20GHz
And of course on some servers it's working great
Scripts> Connect-HPEBIOS -IP 10.xx.xx.yy -Username $ILOUsername -Password $ILOPassword -Verbose:$false |Get-HPEBIOSSystemInfo |fl IP : 10.xx.xx.yy Hostname : ilo2name.fq.dn Status : OK ProductID : 767032-B21 SerialNumber : CZJxxxx
Can some one help / explain ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-25-2018 10:19 PM
11-25-2018 10:19 PM
Re: Help getting the SerialNumber using PowerShell
Thank you Reporting the issue,
We could not able to reproduce this issue in our Lab. Can you please provide us the HPEBIOSCmdlets version.
Rajesh Balakrishnan
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-25-2018 11:12 PM
11-25-2018 11:12 PM
Re: Help getting the SerialNumber using PowerShell
Hello,
I am using version HPEBIOSCmdlets 2.1.0.1
Again, what is really strange is that it is affecting only some of my servers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-26-2018 09:07 PM - last edited on 11-27-2018 09:04 PM by Parvez_AL
11-26-2018 09:07 PM - last edited on 11-27-2018 09:04 PM by Parvez_AL
SolutionThanks for information, we couldnt able to reproduce the same in our Lab, Please share the followings to us via a private message by clicking here.
1. Install "HPEiLOCmdlets" and share the "Find-HPEiLO" cmdlet output.
2. Use any REST client like PostMan/Restlet clients, share us the JSON data for "https://10.x.x.x/rest/v1/systems/1/bios".
Rajesh Balakrishnan
I am a HPE Employee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-26-2018 10:00 PM
11-26-2018 10:00 PM
Re: Help getting the SerialNumber using PowerShell
"Find-HPEiLO" does give back the good result (and it's much faster than the method I wanted to use as it does not requieres authentication.
Still do not understand why HPEBIOSSystemInfo does not give back the excpected result on some machines only.
PhS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
11-26-2018 10:17 PM
11-26-2018 10:17 PM
Re: Help getting the SerialNumber using PowerShell
Hi PhS,
As per error message, it looks like the SerialNumber and ProductNumber details are not supported on the target server.
Category=PropertySupportability; Message=The property or properties listed in AffectedAttribute are not supported on the target server ProLiant DL380 Gen9.
In order to confrim this, I want to look at the JSON data for "https://10,x,x,x/rest/v1/systems/1/bios" URL. Please share it via mail.
Rajesh Balakrishnan
I am a HPE Employee
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP