Server Management - Remote Server Management
cancel
Showing results for 
Search instead for 
Did you mean: 

Changing IPv4 using PowerShell script

 
Highlighted
Occasional Advisor

Changing IPv4 using PowerShell script

Hello everyone,

Server:  Synergy 480 Gen9 iLO 4

Powershell module: https://www.powershellgallery.com/packages/HPEiLOCmdlets/3.0.0.0

I am trying to change IPv4 using powershell script. But when running command: 

$SetHPEiLOIPv4NetworkSetting = Set-HPEiLOIPv4NetworkSetting -Connection $iLOConnection -InterfaceType Dedicated -DHCPv4Enabled No -IPv4SubnetMask $IPv4SubnetMask -IPv4Address $IPv4 -DomainName "$DC"  -DNSName "$($InputFile.iLO.ServerName)ilo"  

 

 I get error:

Error Category: FeatureSupportability
Error Message: Feature not supported - SHARED_NETWORK_PORT

I can change it manually through the ilo page.

Any help or pointers are appreaciated.

1 REPLY 1
Highlighted
HPE Pro

Re: Changing IPv4 using PowerShell script

Hi

Take a look at the following https://community.hpe.com/t5/server-management-remote-server/set-hpeiloipv4networksetting-and-ilo4/m-p/7018504#M8155 it may help resolve the issue

I work for HPE

Accept or Kudo