VMware Cloud Community
andmwas
Contributor
Contributor

get the Management Controller IP Address(Idrac and Ilo)

Is there any way that we can directly query the BaseBoard Management Controller directly from Powercli and get the Management Controller IP Address in vcenter with multiple host?

3 Replies
LucD
Leadership
Leadership

Have a look at ILO IP address through Powercli

Other options are mentioned in Powershell : How to Find Server ILO IP addresses on your Network ?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

andmwas
Contributor
Contributor

Have a look at ILO IP address through Powercli

Powercli is run as administrator and when I run the script I am getting error.

Get-WSManInstance : Access is denied.

At C:\locationscriptissaved\Get-IPMI-Data.ps1:46 char:17

+ ...             Get-WSManInstance -Authentication basic -ConnectionURI $u ...

+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : InvalidOperation: (:) [Get-WSManInstance], UnauthorizedAccessException

    + FullyQualifiedErrorId : Exception,Microsoft.WSMan.Management.GetWSManInstanceCommand

Get-WSManInstance : <f:WSManFault xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="5" Machine="mypc.domain"><f:Message>Access is denied. </f:Message></f:WSManFault>

At C:\locationscriptissaved\Get-IPMI-Data.ps1:46 char:17

Other options are mentioned in Powershell : How to Find Server ILO IP addresses on your Network ?

this will take along time due to the among of host in our datacenter.

0 Kudos
LucD
Leadership
Leadership

Could this be the same issue as described in this old post (Not) Using PowerShell v2 to View WSMan Data From ESX


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos