Write-Host "The input paramter value count and the input csv IP count does not match. If( $count -ne 1 -and $count -ne $inputcsv. $ErrorActionPreference = "Silentl圜ontinue "įoreach ( $Key in $MyInvocation. Write-Host " `n****** Script execution terminated ****** " -ForegroundColor Red Write-Host " `nPlease launch the PowerShell in administrator mode and run the script again. Write-Host "Enabling logging feature " -ForegroundColor Yellow Write-Host "HPEiLOCmdlets Module Version : $ ( $InstallediLOModule. $InstallediLOModule = Get-Module -Name "HPEiLOCmdlets " Write-Host "HPEiLOCmdlets module cannot be loaded. If(( $( Get-Module -Name "HPEiLOCmdlets ") -eq $null)) Write-Host "Loading module : HPEiLOCmdlets " If( -not( $ModuleNames -like "HPEiLOCmdlets ")) Write-Host "This script sets the license key to the given value and gets the same. Write-Host "****** Script execution started ****** `n " -ForegroundColor Yellow Write-Host "iLOInput.csv file path: $path " Please check the file path of the iLOInput.csv file and try again. Write-Host "iLOInput.csv file import failed. Write-Host "Provide equal number of values for IP, Username and Password columns in the iLOInput.csv file and try again. Write-Host "Provide values for IP, Username and Password columns in the iLOInput.csv file and try again. $path = Split-Path -Parent $PSCommandPath ILOInput.csv file in the script folder location having iLO IPv4 address, iLO Username and iLO Password.Īlways run the PowerShell in administrator mode to execute the script. This script takes the required input and updates the iLO license key.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |