Servers - General
1748265 Members
4174 Online
108760 Solutions
New Discussion юеВ

Re: Changing IPv4 using PowerShell script

 
JonasPonas
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.

7 REPLIES 7
StorageMike
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

AmRa
HPE Pro

Re: Changing IPv4 using PowerShell script

Hi

Please refer below link to know more about Set-HPEiLOIPv4NetworkSetting cmdlet to modify the iLO IPv4 network settings.

https://pswiki.net/set-hpeiloipv4networksetting/

I am an HPE Employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo
JonasPonas
Advisor

Re: Changing IPv4 using PowerShell script

The module specified in the link  https://pswiki.net/category/hpe/hpeilocmdlets/ is 2.1.0.0 and I am using 3.0.0.0, tried the commands did not help still the same error: Feature not supported - SHARED_NETWORK_PORT

 

Tried all the commands specified there  https://community.hpe.com/t5/server-management-remote-server/set-hpeiloipv4networksetting-and-ilo4/m-p/7018504#M8155 , also he is using 2.0.0.1, still getting the same error - Feature not supported - SHARED_NETWORK_PORT

JonasPonas
Advisor

Re: Changing IPv4 using PowerShell script

 
AmRa
HPE Pro

Re: Changing IPv4 using PowerShell script

Hi 

Requesting you please log support ticket with HPE support team for further action.

 

I am an HPE Employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

Accept or Kudo
JonasPonas
Advisor

Re: Changing IPv4 using PowerShell script

Where i can log support ticket? Is it here: https://support.hpe.com/hpesc/public/usageSupport/

Anupam_Kaushik
Visitor

Re: Changing IPv4 using PowerShell script