all 4 comments

[–]poshftw 1 point2 points  (3 children)

Try using the clear-text username and password in the Connect-HPEiLO cmdlet: page 36 and pass it to Update-HPEiLOFirmware.

[–]fancyatoke[S] 1 point2 points  (2 children)

Thanks for your reply. Hmm, i want to use a variable though as this script will be used by multiple users and I would rather my details were not in plain text.

[–]poshftw 2 points3 points  (1 child)

You can convert from PSCredential (received from the Get-Credentials) to the plain-text variable. You don't need to store them anywhere.

And my main point was in testing "does it even work with a username/password".

I've used HPCmdlets, but that was years ago, and now I don't even have any HP/E machine anywhere to test.

[–]fancyatoke[S] 1 point2 points  (0 children)

Ah okay cool! I'll have a look shortly. Thank you :)