i have a powershell script file, and a bat file, the bat file runs the script, so when i double click
the bat file the script get executed.
in my code i do the following:
ProcessStartInfo info = new ProcessStartInfo(@batchfilename + ".bat");
Process processToStart = new Process();
processToStart.StartInfo = info;
processToStart.Start();
the batch gets executed and the powershell scripts starts, but it crashes telling me somthing about policy issue.
allthoug my policy is unrestrected, any ideas?