Enhancement to After Execute Wait - For IP on Adapter to reference Device name as another option
0 vote
Hi There,
I have encountered an issue where I am unable to keep the value blank for the adapter name since it did not work for me (name did not match). The VPN keep looking for an adapter which in my case Watchguaud VPN the name was not the same as the Adapter name. Or I am misunderstanding this functionality.
In my case when I did specify the adapter name 'Ethernet 4' everything worked, however in my environment/ team environment the adapter name is not the same device for each users computer depending on when they installed thier VPN software. So specifying this as a gerneric configuration would not work for all users.
In my case, the device name is always the same Tap-Windows adapter V9 for each user. It would be nice to be able to reference the device name instead so that it might work consistently when the device name will always be the same and the adapter name 'Ethernet 4' may be different for each user.
Is this something that is possible? To either specify adapter name 'Ethernet 4' or to specify Device name 'Tap-Windows Adapter V9' which would usually work when the adapter name is different on each users PC and the VPN name doesn't match.
Anyways, please let me know if this would work, pros/ cons to this feature change. Thanks...Marcel
Hi Marcel,
Interesting suggestion, I will need to look at the code to figure out if it is possible to do. I haven't looked at this code in a very long time. Will get back to you next week.
Best regards,
Stéfane Lavergne
Might be possible but I need your help. Please perform the following on your machine:
- Install LinqPad https://www.linqpad.net/ (amazing tool to test .NET code snippets), you can install using the .zip (xcopy-deploy)
- Run the attached script
- Is the value you are looking for available (any field)? If so, we can do it easy, if not I will need to dig deeper.
If ever you can't install LinqPad, I can send you a .exe or PowerShell script to extract the information, let me know.
Best regards,
Stéfane Lavergne