tag:blogger.com,1999:blog-5834591349436314089.post1995306641398872592..comments2024-01-27T03:17:53.246-05:00Comments on Zsoldier's Tech Blog: Get iDRAC/ILO (aka Baseboard Management Controller) IP via PowerCLIZsoldierhttp://www.blogger.com/profile/11268515960384934875noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-5834591349436314089.post-59325527991877964822018-06-08T07:33:33.522-04:002018-06-08T07:33:33.522-04:00Did you guys get any further with this error?Did you guys get any further with this error?Gordonpmnoreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-21763589975030997322017-03-01T11:57:24.039-05:002017-03-01T11:57:24.039-05:00I'm wondering if it's a specific problem w...I'm wondering if it's a specific problem w/ the HP Gen 9 systems. I haven't had issues w/ earlier revisions or w/ current Dell systems. Contact me through Google Hangouts so we can work through together.Zsoldierhttps://www.blogger.com/profile/11268515960384934875noreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-42631548867452349482016-12-26T10:42:47.104-05:002016-12-26T10:42:47.104-05:00We are using hp proliant gen 9 based DL servers wi...We are using hp proliant gen 9 based DL servers with HP cusotmized ESXi ISO image. Did you get any further information on this ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-60503884308350177072016-12-26T10:41:11.146-05:002016-12-26T10:41:11.146-05:00We are using hp proliant DL Gen 9 based servers wi...We are using hp proliant DL Gen 9 based servers with HP customized ESXi ISO. Did you get any further information on this ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-78909840376013601282016-10-11T10:11:50.754-04:002016-10-11T10:11:50.754-04:00When you guys post, it would be helpful to know wh...When you guys post, it would be helpful to know what hardware you are checking against. If CIM_IPProtocolEndpoint is working, then it makes me think something there might be a hardware specific issue. <br /><br />I get information back from Dell iDRAC based servers. I get no info back from something like an Intel NUC, but that's the extent to which I have access to test against.Zsoldierhttps://www.blogger.com/profile/11268515960384934875noreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-8162264640185822382016-10-06T16:41:25.102-04:002016-10-06T16:41:25.102-04:00Ran into the same error: Get-WSManInstance : The c...Ran into the same error: Get-WSManInstance : The connection to the specified remote host was refused. Verify that the WS-Management service is running on the remote host and configured to listen for requests on the correct<br /><br />We also had to replace OMC_IPMIIPProtocolEndpoint with CIM_IPProtocolEndpoint to resolve this issue - any idea what's causing this?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-380159718176533112016-10-04T10:34:28.590-04:002016-10-04T10:34:28.590-04:00Are you getting an error or just nothing in return...Are you getting an error or just nothing in return? I just checked against my ESXi 6.0U2 host and was able to pull back the information. What kind or hardware is your target?Zsoldierhttps://www.blogger.com/profile/11268515960384934875noreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-87626594476642325452016-10-02T20:02:14.334-04:002016-10-02T20:02:14.334-04:00Hey Pedro, All,
I replaced OMC_IPMIIPProtocolEndp...Hey Pedro, All,<br /><br />I replaced OMC_IPMIIPProtocolEndpoint with CIM_IPProtocolEndpoint but now the script is displaying all IP addresses which includes ILO IP address as wel. I tried to weed out other IP addresses by using if condition to search only for CreationClassName=OMC_IPMIIPProtocolEndpoint but it didn't work. I searched on Internet but couldn't find any leads on this. Any further idea on how to proceed ?<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-28664710236742612012016-09-29T05:45:24.027-04:002016-09-29T05:45:24.027-04:00Try using the following class instead
CIM_IPProto...Try using the following class instead<br /><br />CIM_IPProtocolEndpoint <br /><br />More detailed information about this class on the following VMware url:<br /><br />https://www.vmware.com/support/developer/cim-sdk/smash/ga/reference_html/CIM_IPProtocolEndpoint.htmlPedro Alexandrehttps://www.blogger.com/profile/14173477116372214685noreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-81145323072062418332016-09-28T06:58:25.637-04:002016-09-28T06:58:25.637-04:00Hi Chris,
Yes, I can confirm that the script is n...Hi Chris,<br /><br />Yes, I can confirm that the script is not working on ESXi 6 hosts. The error which I got is below. Any suggestions on how to proceed further ??<br /><br />Get-WSManInstance : The connection to the specified remote host was refused. Verify that the WS-Management service is running on the remote host and configured to listen for requests on the correct<br />port and HTTP URL.<br />At C:\users\USER2\desktop\wsman.psm1:44 char:17<br />+ Get-WSManInstance -Authentication basic -ConnectionURI $uri -Cre ...<br />+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br /> + CategoryInfo : InvalidOperation: (:) [Get-WSManInstance], COMException<br /> + FullyQualifiedErrorId : Exception,Microsoft.WSMan.Management.GetWSManInstanceCommand<br /><br />Get-WSManInstance : The connection to the specified<br />remote host was refused. Verify that the WS-Management service is running on the remote host and configured to listen for requests on the correct port and HTTP URL. <br />At C:\users\USER2\desktop\wsman.psm1:44 char:17<br />+ Get-WSManInstance -Authentication basic -ConnectionURI $uri -Cre ...<br />+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br /> + CategoryInfo : InvalidOperation: (http://schema.o...rotocolEndpoint:Uri) [Get-WSManInstance], InvalidOperationException<br /> + FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.GetWSManInstanceCommand<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-77685407472865671582016-07-01T15:52:26.696-04:002016-07-01T15:52:26.696-04:00I'm not aware of anything changing. Just by g...I'm not aware of anything changing. Just by going to the wsman URI and getting 501 simply means that you are hitting it, but it doesn't know what to do because you didn't pass any parameters. Is it only on 6.0U2 hosts that you are seeing the issue?Zsoldierhttps://www.blogger.com/profile/11268515960384934875noreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-59996932700405198732016-06-30T20:21:08.600-04:002016-06-30T20:21:08.600-04:00I tried this on a 6.0 Update 2 host and got the er...I tried this on a 6.0 Update 2 host and got the error below. I noticed that the /wsman URI-stem is returning 501 Method Not Implemented. Is there an update to this script?<br /><br />Get-WSManInstance : The connection to the specified remote host was refused. Verify that the WS-Management service is<br />running on the remote host and configured to listen for requests on the correct port and HTTP URL.<br />At line:39 char:1<br />+ Get-WSManInstance -Authentication basic -ConnectionURI $uri -Credential $credent …<br />+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />+ CategoryInfo : InvalidOperation: (:) [Get-WSManInstance], COMException<br />+ FullyQualifiedErrorId : Exception,Microsoft.WSMan.Management.GetWSManInstanceCommandJohn Hossbachhttps://www.blogger.com/profile/09375144451718670600noreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-1436039439504772742016-05-12T10:58:15.613-04:002016-05-12T10:58:15.613-04:00I imagine it's possible, but probably quite a ...I imagine it's possible, but probably quite a bit more difficult. I would check with William Lam as he is way more fluent in Perl than I am.Zsoldierhttps://www.blogger.com/profile/11268515960384934875noreply@blogger.comtag:blogger.com,1999:blog-5834591349436314089.post-49366505892050174032016-05-12T10:46:00.352-04:002016-05-12T10:46:00.352-04:00any idea if this can be done using the vSphere Per...any idea if this can be done using the vSphere Perl SDK?Anonymoushttps://www.blogger.com/profile/13059807879726565258noreply@blogger.com