Servers - General

Configuring iLO using Powershell script

 
SOLVED
Go to solution
JonasPonas
Advisor

Configuring iLO using Powershell script

Hello everyone,

I am trying to configure iLO for ProLiant and Synergy servers.

To configure ProLiant servers i am using https://www.powershellgallery.com/packages/HPEiLOCmdlets/3.0.0.0

To configure Synergy servers i am using https://support.hpe.com/hpsc/swd/public/detail?swItemId=MTX_6d64cb45d4c649ceb8e9cc93b5#tab-history

When running this command:

Set-HPiLODirectory -Server $iLOIPAddress -Username $user -Password $pass
-LDAPDirectoryAuthentication Use_Directory_Default_Schema -ServerAddress $DomainController
-ServerPort 636
-UserContext1 "TEXT"
-UserContext2 "TEXT"
-UserContext3 "TEXT"
-UserContext4 ""
-UserContext5 ""
-DisableCertificateAuthentication

I get this error:

Check-RibclEmpty : Error: The content of the RIBCL is empty. Use "Get-Help" and try a
gain. 
At C:\temp\iLO-Config\Modules\HPiLOCmdlets\HPiLOCmdlets.psm1:29271 char:16
+             if(Check-RibclEmpty($send)){
+                ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Chec 
   k-RibclEmpty

What could be the problem? Any pointers or help is appreciated.

1 REPLY 1
JonasPonas
Advisor
Solution

Re: Configuring iLO using Powershell script

The problem was that i wasnt using  grave accent when moving code lines below.

Set-HPiLODirectory -Server $iLOIPAddress -Username $user -Password $pass
-LDAPDirectoryAuthentication Use_Directory_Default_Schema -ServerAddress $DomainController `
-ServerPort 636 `
-UserContext1 "TEXT" `
-UserContext2 "TEXT" `
-UserContext3 "TEXT" `
-UserContext4 "" ` 
-UserContext5 "" `
-DisableCertificateAuthentication