- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Servers - General
- >
- Re: Query: Scripting Tools for Windows PowerShell:...
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
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
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
11-12-2024 11:17 PM - last edited on 11-13-2024 07:57 PM by support_s
11-12-2024 11:17 PM - last edited on 11-13-2024 07:57 PM by support_s
Scripting Tools for Windows PowerShell: iLO cmdlets - Error Connection and Timeout
I have installed the HPEiLOCmdlets version 4.3.0.0.
When I now want to make a connection to an iLO, I get a timeout error.
Likewise, when I make a Find-HPEiLO, I get a timeout. However, when I open the URL in the browser, I get all the information from the iLO:
---
> $ILOname = "x.x.x.x"
> $Creds = Get-Credential
Cmdlet Get-Credential an der Befehlspipelineposition 1
Geben Sie Werte für die folgenden Parameter an:
Credential
> $connection = Connect-HPEiLO -Address $ILOname -Credential $Creds -DisableCertificateAuthentication:$true -Timeout 60 -Verbose
AUSFÜHRLICH: Ausführen des Vorgangs "Connect-HPEiLO" für das Ziel "Address: x.x.x.x".
AUSFÜHRLICH: Executing the cmdlets with 1 task serially.
Connect-HPEiLO : [x.x.x.x] : Timeout für Vorgang überschritten
In Zeile:1 Zeichen:15
+ ... onnection = Connect-HPEiLO -Address $ILOname -Credential $Creds -Disa ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Connect-HPEiLO], Exception
+ FullyQualifiedErrorId : HPE.iLO.Cmdlet.Connector.ConnectHPEiLO
---
> Find-HPEiLO x.x.x.x -verbose
AUSFÜHRLICH: Ausführen des Vorgangs "Find-HPEiLO" für das Ziel "Range: x.x.x.x".
AUSFÜHRLICH: Executing the cmdlets with 1 task serially.
AUSFÜHRLICH: [Find-HPEiLO][x.x.x.x]: Getting iLO information.
AUSFÜHRLICH: [Find-HPEiLO][x.x.x.x]: URL:https://x.x.x.x/xmldata?item=All
AUSFÜHRLICH: [Find-HPEiLO][x.x.x.x]: No response from the target.
---
-> when I open the URL "https://x.x.x.x/xmldata?item=All" in the browser, I get all the information from the iLO
I am grateful for any help.
- Tags:
- ProLiant Server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2024 12:19 AM
11-13-2024 12:19 AM
Query: Scripting Tools for Windows PowerShell: iLO cmdlets - Error Connection and Timeout
System recommended content:
1. HPE iLO 6 1.61 User Guide | iLO scripting and command line
2. HPE iLO 6 1.61 User Guide | Other iLO configuration tools
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2024 07:32 PM
11-13-2024 07:32 PM
Re: Query: Scripting Tools for Windows PowerShell: iLO cmdlets - Error Connection and Time
Hi @MarioE
Please ensure the prerequisites are met as mentioned in this guide on page number 6 and also ensure that iLO with Administrator privileges is connected while using PowerShell.
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2024 11:43 PM
11-13-2024 11:43 PM
Re: Query: Scripting Tools for Windows PowerShell: iLO cmdlets - Error Connection and Time
I have now found out the following.
I cannot use the iLO FQDN or iLO IP address. I have to use the Hostname (short name from the iLO), then all commands work:
> $ILOname = "<hostnameilo>"
> $cred = Get-Credential -UserName <username> -Message "Enter current standard iLO password"
> $connection = Connect-HPEiLO -Address $ILOname -Credential $cred -DisableCertificateAuthentication:$true
> $connection
IP : x.x.x.x
Hostname : <hostnameilo>
Timeout : 60
DisableCertificateAuthentication : True
TargetInfo : @{ProductName=ProLiant DL380 Gen10; ServerFamily=ProLiant; ServerGeneration=Gen10; ServerModel=DL380; iLOGeneration=iLO5; iLOFirmwareVersion=3.03;
SystemROM=U30 v3.10 (02/22/2024); ProcessorName=Intel(R) Xeon(R) Gold 6146 CPU @ 3.20GHz}
ExtendedInfo : @{UserSuppliedAddress=<hostnameilo>; HttpConnectAddress=<hostnameilo>; UserName=<username>; Modifier1=xxx;
Modifier2=xxx
ConnectionInfo : @{Redfish=}
If I use the FQDN of the iLO or the iLO IP address, I get an error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 12:30 AM
11-15-2024 12:30 AM
Re: Query: Scripting Tools for Windows PowerShell: iLO cmdlets - Error Connection and Time
Hi @MarioE,
Please try this command to use the iLO IP address
$connection = Connect-HPEiLO -IP <IP address of iLO> -Username <username of iLO> -Password <password of iLO> -DisableCertificateAuthentication -Verbose
$connection
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 12:50 AM
11-15-2024 12:50 AM
Re: Query: Scripting Tools for Windows PowerShell: iLO cmdlets - Error Connection and Time
I get an error with the IP address:
> $connection = Connect-HPEiLO -IP <IP address of iLO> -Username <username of iLO> -Password <password of iLO> -DisableCertificateAuthentication -Verbose
AUSFÜHRLICH: Ausführen des Vorgangs "Connect-HPEiLO" für das Ziel "Address: <IP address of iLO>".
AUSFÜHRLICH: Executing the cmdlets with 1 task serially.
Connect-HPEiLO : [<IP address of iLO>] : Timeout für Vorgang überschritten
In Zeile:1 Zeichen:15
+ ... onnection = Connect-HPEiLO -IP <IP address of iLO> -Username <username of iLO> -Password ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Connect-HPEiLO], Exception
+ FullyQualifiedErrorId : HPE.iLO.Cmdlet.Connector.ConnectHPEiLO
If I change the IP address to the hostname of the iLO, the connection works:
> $connection = Connect-HPEiLO -IP <hostname of iLO> -Username <username of iLO> -Password <password of iLO> -DisableCertificateAuthentication -Verbose
AUSFÜHRLICH: Ausführen des Vorgangs "Connect-HPEiLO" für das Ziel "Address: <hostname of iLO>".
AUSFÜHRLICH: Executing the cmdlets with 1 task serially.
AUSFÜHRLICH: [Connect-HPEiLO][<hostname of iLO>]: XML Reply on: Reading iLO xml data
AUSFÜHRLICH: [Connect-HPEiLO][<hostname of iLO>]: iLO FirmwareVersion: iLO5 v3.03
AUSFÜHRLICH: [Connect-HPEiLO][<hostname of iLO>]: Product Name: ProLiant DL380 Gen10
AUSFÜHRLICH: [Connect-HPEiLO][<hostname of iLO>]: Creating connection for connection type(s): Redfish
AUSFÜHRLICH: [Connect-HPEiLO][<hostname of iLO>][Redfish]: Establishing connection.
AUSFÜHRLICH: [Connect-HPEiLO][<hostname of iLO>][Redfish]: Received response for create connection request.
AUSFÜHRLICH: [Connect-HPEiLO][<hostname of iLO>][Redfish]: Connection established.
AUSFÜHRLICH: [Connect-HPEiLO][<hostname of iLO>]: Connection established for connection type(s): Redfish
> $connection
IP : <IP address of iLO>
Hostname : <hostname of iLO>
Timeout : 60
DisableCertificateAuthentication : True
TargetInfo : @{ProductName=ProLiant DL380 Gen10; ServerFamily=ProLiant; ServerGeneration=Gen10; ServerModel=DL380; iLOGeneration=iLO5; iLOFirmwareVersion=3.03; SystemROM=U30 v3.10 (02/22/2024); ProcessorName=Intel(R) Xeon(R) Gold 6146 CPU @
3.20GHz}
ExtendedInfo : @{UserSuppliedAddress=<hostname of iLO>; HttpConnectAddress=<hostname of iLO>; UserName= <username of iLO>; Modifier1=xxx; Modifier2=xxx}
ConnectionInfo : @{Redfish=}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2024 01:43 AM
11-15-2024 01:43 AM
Re: Query: Scripting Tools for Windows PowerShell: iLO cmdlets - Error Connection and Time
Hi @MarioE ,
This command worked for me when I used the iLO IP address with administrator privileges
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2024 11:37 PM
11-18-2024 11:37 PM
Query: Scripting Tools for Windows PowerShell: iLO cmdlets - Error Connection and Timeout
Hello,
Let us know if you were able to resolve the issue.
If you have no further query, and you are satisfied with the answer then kindly mark the topic as Solved so that it is helpful for all community members.
Please click on "Thumbs Up/Kudo" icon to give a "Kudo".
Thank you for being a HPE valuable community member.