I'm attempting to use the attached psf (which invokes the System.Diagnostics.Process object), to run an exe and output the results. In the example psf, the "$process.StartInfo.Arguments" value calls arguments for ping, but what actually I need to do is to have it call a value from a foreach object which imports a CSV file.
Usually, I'd just type this:
Code: Select all
$Images = Import-csv $InputFile | ForEach-Object { }
Is the above possible using the diagnostic process object?
thanks!