I am trying to programatically(VB.net) create a file with all ipconfig data, just like the cmd command ipconfig /all > <outputPath>
I used this code, but no file has been created:
.UseShellExecute = True
.FileName = "cmd.exe"
.Arguments = "ipconfig.exe /ALL >" + outputPath
' Execute the process and wait for it to exit
If pStart.Start() Then