Inner Exception Message: Unable to find an entry point named 'GetPerAdapterInfo' in DLL 'iphlpapi.dll'. End of stack trace from previous location where exception was thrown -Īt .End(IAsyncResult result)Īt .(IAsyncResult result, ConnectInfo& info)Īt .FaultTolerantObject`1.CreateAsyncResult.c.b_5_1(CreateAsyncResult thisPtr, IAsyncResult r)Īt .FaultTolerantObject`1.OnEndCreateInstance(IAsyncResult asyncResult)Īt `1.EndGetInstance(IAsyncResult asyncResult)Īt .b_35_3(OpenLinkAsyncResult thisPtr, IAsyncResult r) Inner Exception Stacktrace: at .BeginCheckConnectivity(IEnumerable`1 addresses, Int32 tcpPort, TimeSpan timeout, AsyncCallback callback, Object state)Īt `1.EnumerateSteps(CurrentThreadType state)Īt `1.Start() Inner Exception Message: The type initializer for '' threw an exception.
#Darkstar one iphlpapi.dll code#
But I am getting the below error when the code tries to do some initialization stuff. I am trying to use in my cmdlet code to send messages to Azure service bus.
![darkstar one iphlpapi.dll darkstar one iphlpapi.dll](http://cdn.akamai.steamstatic.com/steam/apps/12330/0000003569.1920x1080.jpg)
The cmdlet will be invoked in a Azure powershell Runbook script.
![darkstar one iphlpapi.dll darkstar one iphlpapi.dll](https://gamewatcher-images.s3.amazonaws.com/image/file/9/48/65239/00151329.jpg)
I have written a cmdlet, zipped it and uploaded to Azure Automation module.