- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- HP380 Gen11 - Configure HPe iLO IP address using p...
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
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
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
тАО03-06-2025 05:49 AM - last edited on тАО03-07-2025 03:15 AM by support_s
тАО03-06-2025 05:49 AM - last edited on тАО03-07-2025 03:15 AM by support_s
I'm trying to configure the IP address of the iLO dedicated network card using the HPe iLO powershell module but it doesnt work
$IPStatic = 10.0.100.125
$Subnet = "255.255.254.0"
$Gateway = "10.0.100.1"
$DNSServers = ,@("10.150.5.15", "10.150.5.16", "0.0.0.0")
$DNSServerTypes = ,@("Primary", "Secondary", "Tertiary")
$Hostname = "ILO-SERVER01
$Connection | Set-HPEiLOIPv4NetworkSetting -InterfaceType Dedicated -DHCPv4Enabled No -IPv4Address $IPStatic -IPv4Gateway $Gateway -IPv4SubnetMask $Subnet -DNSName $Hostname -DomainName $DomainName -NICEnabled Yes -DNSServerType $DNSServerTypes -DNSServer $DNSServers -RegisterDDNSServer Disabled -RegisterWINSServer Disabled
I get this error:
Set-HPEiLOIPv4NetworkSetting : [10.0.101.161]: Input string was not in a correct format.
At line:1 char:15
+ ... onnection | Set-HPEiLOIPv4NetworkSetting -InterfaceType Dedicated -DH ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (:) [Set-HPEiLOIPv4NetworkSetting], Exception
+ FullyQualifiedErrorId : HPE.iLO.Cmdlet.SetHPEiLOIPv4NetworkSetting
Even when i only run: $Connection | Set-HPEiLOIPv4NetworkSetting -InterfaceType Dedicated -DHCPv4Enabled No -IPv4Address $IPStatic -IPv4Gateway $Gateway -IPv4SubnetMask $Subnet
I get the same error.
Is this a bug?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2025 06:51 AM
тАО03-06-2025 06:51 AM
Query: HP380 Gen11 - Configure HPe iLO IP address using powershell not working
System recommended content:
1. HPE iLO 5 User Guide | iLO IP address acquisition
2. HPE iLO 6 User Guide | iLO IP address acquisition
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
тАО03-06-2025 07:42 AM
тАО03-06-2025 07:42 AM
Re: Query: HP380 Gen11 - Configure HPe iLO IP address using powershell not working
Sorry, you are posting an answer that have has nothing to do with this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-06-2025 09:31 PM - edited тАО03-06-2025 09:38 PM
тАО03-06-2025 09:31 PM - edited тАО03-06-2025 09:38 PM
Re: Query: HP380 Gen11 - Configure HPe iLO IP address using powershell not working
Hi @udalsem ,
Will this syntax of the command help you ? DHCP might not disabled before assigning the static IP, otherwise, it won't work for assigning static IP to gateway.
Set-HPEiLOIPv4NetworkSetting -Credential $cred -Server $iLODHCPIP -DHCPEnable No -DHCPSNTP No -DNSName $iLODNSName -Domain $Zone -IPAddress $iLOIPAddress -GatewayIP $iLOGateway -PingGateway Yes -PrimDNSServer $iLOPrimaryDNS -RegDDNSServer Yes -RegWINSServer No -SecDNSServer $iloSecondaryDNS -SNTPServer1 $iLOPrimaryDNS -SNTPServer2 $iloSecondaryDNS -SubnetMask 255.255.248.0 -Timezone $TimeZone Start-Sleep -s 30
Regards,
Shiva_jr
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
тАО03-07-2025 03:30 AM - edited тАО03-07-2025 03:40 AM
тАО03-07-2025 03:30 AM - edited тАО03-07-2025 03:40 AM
Re: Query: HP380 Gen11 - Configure HPe iLO IP address using powershell not working
Thank you for the reply.
In you powershell command line are options that dont excist in my powershell module version of HPe iLO. I think you are using a realy old one. i marked them below in bold.
Set-HPEiLOIPv4NetworkSetting -Credential $cred -Server $iLODHCPIP -DHCPEnable No -DHCPSNTP No -DNSName $iLODNSName -Domain $Zone -IPAddress $iLOIPAddress -GatewayIP $iLOGateway -PingGateway Yes -PrimDNSServer $iLOPrimaryDNS -RegDDNSServer Yes -RegWINSServer No -SecDNSServer $iloSecondaryDNS -SNTPServer1 $iLOPrimaryDNS -SNTPServer2 $iloSecondaryDNS -SubnetMask 255.255.248.0 -Timezone $TimeZone
Every combination i make i get the same error, at line:1, character 15.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-07-2025 07:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2025 04:05 AM
тАО03-08-2025 04:05 AM
Re: Query: HP380 Gen11 - Configure HPe iLO IP address using powershell not working
Thank you so much, now it works again with the version 4.3..0..0..
Let's hope HP updates the script soon.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2025 10:40 PM
тАО03-09-2025 10:40 PM
Re: Query: HP380 Gen11 - Configure HPe iLO IP address using powershell not working
Hello @udalsem,
That's Excellent!
We are extremely glad to know the issue has been resolved.
Thanks,
Sunitha G
I'm an HPE employee.
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
a month ago
a month ago
Re: Query: HP380 Gen11 - Configure HPe iLO IP address using powershell not working
Thank you for sharing this. I'm in the middle of a deployment and the code I've been using for years didn't work. I igured it was a Gen11 difference, but it's not!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
2 weeks ago
Re: Query: HP380 Gen11 - Configure HPe iLO IP address using powershell not working
Is this issue solved in HPEilocmdlet 5.0 ? Or is there any workaround to set a static ILO ip ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
a week ago
Re: Query: HP380 Gen11 - Configure HPe iLO IP address using powershell not working
I have not tried 5.0.0 version yet because i have no servers to enroll yet.
In the new release they only say it fixed:
9. Fixes
яВ╖ Enable-HPEiLOComputeOpsManagement - "ActivationKey" updated as mandatory parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
yesterday
Re: Query: HP380 Gen11 - Configure HPe iLO IP address using powershell not working
Still not fixed. I tried it with version 5.0.0