This (http://www.microsoft.com/en-us/download/confirmation.aspx?id=2555) has got to be one of the most hacky PowerShell script solutions I've ever seen. Then again, maybe I just haven't been around enough yet.
Problem: Need to deploy a VPN configuration to computers via PowerShell to Windows 7 systems.
Solution...
1. Write an XML file that defines the properties of your VPN profile.
2. Write a PowerShell function that effectively works as a C# compiler.
3. Use C# to implement new .NET Framework namespaces & classes that have the functionality you need to set up a new VPN connection via R…