- Community Home
- >
- Servers and Operating Systems
- >
- Servers - General
- >
- Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The ...
-
- 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
01-15-2019 06:36 AM
01-15-2019 06:36 AM
Hi All,
I have just install the powershell module HPEBIOSCmdlets version 2.1.0.1, When running command Connect-HPEBIOS I get the error "The remote server returned an error: (400) Bad Request", I have tried with several different
servers HP ProLiant BL460c Gen9, firmware version 2.61 and I am getting the same problem for all. I have checked all the prerequisites and all are met.
I am running out of ideas, could anyone help me out?
Connect-HPEBIOS -IP 10.26.203.8 -Username "herbalifecorp\moiseses-a" -Password "MySecretPass" -DisableCertificateAuthentication -verbose
VERBOSE: Performing the operation "Connect-HPEBIOS" on target "IP: 10.26.203.8".
VERBOSE: [Connect-HPEBIOS] Executing the cmdlets with 1 task serially.
VERBOSE: 10.26.203.8 : Checking whether the input target IP or Hostname is iLO or Windows server IP.
VERBOSE: 10.26.203.8 : Creating REST connection for target IP.
WARNING: 10.26.203.8: The host name could not be resolved in DNS.
Connect-HPEBIOS : Failed for 10.26.203.8: The remote server returned an error: (400) Bad Request.
At line:1 char:1
+ Connect-HPEBIOS -IP 10.26.203.8 -Username "herbalifecorp\moiseses-a" ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ConnectionError: (:) [Connect-HPEBIOS], Exception
+ FullyQualifiedErrorId : HPE.BIOS.Cmdlet.ConnectHPEBIOS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-16-2019 06:59 AM - edited 01-16-2019 06:59 AM
01-16-2019 06:59 AM - edited 01-16-2019 06:59 AM
Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The remote server returned an error: (400) Bad R
Thank you posting the issue.
It looks like the BIOS REST API is not installed properly. To confirm can you please try to access "https://<iLO_IP_ADDRESS>/rest/v1/systems/1/bios" url using any REST clients such postman, restlet clients.
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
01-23-2019 07:23 AM
01-23-2019 07:23 AM
Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The remote server returned an error: (400) Bad R
Any updates on this???
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
01-23-2019 07:54 AM
01-23-2019 07:54 AM
SolutionHi B_Rajesh,
Sorry for the late reply, indeed the problem was a bit silly, I was pointing to the management IP address instead to the ILO IP address.
Connect-HPEiLO $ILOIP -Credential $Cred -DisableCertificateAuthentication
Now using ILO adrress works as champ!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
01-28-2019 11:03 AM
01-28-2019 11:03 AM
Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The remote server returned an error: (400) Bad R
Thank you
Happy scripting:)
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
04-20-2020 03:03 PM - last edited on 04-21-2020 04:37 AM by Parvez_AL
04-20-2020 03:03 PM - last edited on 04-21-2020 04:37 AM by Parvez_AL
Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The remote server returned an error: (400) Bad R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
04-22-2020 03:26 AM
04-22-2020 03:26 AM
Re: Connect-HPEBIOS : Failed for <IP_ADRESS>: The remote server returned an error: (400) Bad R
Hi,
Are you still getting an error while connecting to iLO5 using the Connect-HPEBIOS cmdlet or is the issue resolved?
If the issue still persist then could you please enable logging using Enable-HPEBIOSLog and share the log file.
Regards,
Hema
I work for HPE
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP