Thanks Matt,
I've updated the form as Full Trust as suggested and included the following code in the OnLoad function:
var shell = WScript.CreateObject("WScript.Shell");
var exec = shell.Exec("ipconfig /all");
WScript.StdOut.Write(exec.StdOut.ReadAll());
I'd like the IP Address to output to an expression box but do not know how to do so. Any help would be appreciated.