HewlettPackard / PowerShell-ProLiant-SDK

PowerShell sample scripts for managing HPE servers
https://www.hpe.com/servers/powershell
90 stars 42 forks source link

Set-HPEiLODirectorySetting doesn't work as expected #76

Closed andreyyukhimchak closed 1 year ago

andreyyukhimchak commented 2 years ago

I tried to configure AD authentication for Gen10 servers with powershell module with something like this: Set-HPEiLODirectorySetting -Connection $conn -DirectoryServerAddress '192.168.1.15' -DirectoryServerPort '3269'

Unfortunately for unknown reasons it's fill the Directory Server Address field with the next record 192.168.1.15:3269 (I see such value in iLO web interface) and authentication doesn't work. At the same time when I read this value with Get-HPEiLODirectorySetting it shows DirectoryServerAddress as 192.168.1.15 without :3269 suffix.

It was tested with version HPEiLOCmdlets 3.2.0.0 and 2.1 against few DL360 Gen10 servers and DX360 Gen10

hp-powershell commented 1 year ago

Hi ,

Server address and port when they are valid , it works fine in our environment with hpeilocmlets 3.2 which is the recent released version .

Kindly use the valid input and try again .

thanks & regards, Powershell Team