Top "Start-process" questions

Start-Process is a PowerShell cmdlet that starts one or more processes on the local computer.

PowerShell - Start-Process and Cmdline Switches

I can run this fine: $msbuild = "C:\WINDOWS\Microsoft.NET\Framework\v3.5\MSBuild.exe" start-process $msbuild -wait But when I …

command-line powershell start-process
Capturing standard out and error with Start-Process

Is there a bug in PowerShell's Start-Process command when accessing the StandardError and StandardOutput properties? If I run the following …

powershell start-process
Start-process raises an error when providing Credentials - possible bug

Would you possibly know why this error is being raised in response to the code below. User-name and password have …

powershell start-process
Powershell opening file path with whitespaces

I'm my PS script I want to be able to run another script in another PS instance by doing the …

powershell start-process
How to start remotely process in PowerShell

I have a problem, I have a script which: Connect with PSSession (I use PSSession with admin account) Stop 2 process …

powershell remoting invoke-command start-process
running dos command line from C#?

I am trying to run this command from command-line prompt: "D:\\fiji\\fiji.exe -macro D:\\fiji\\macros\\FFTBatch.ijm …

c# command-line start-process
Powershell Start Process, Wait with Timeout, Kill and Get Exit Code

I want to repeatedly execute a program in a loop. Sometimes, the program crashes, so I want to kill it …

powershell wait exit-code start-process
Powershell Remote Invoke-Command Start-Process App Immediately Closes After Launch

I am working on a script to remotely kill two processes, delete some folders, and launch a service as an …

powershell powershell-remoting invoke-command start-process
Powershell Using Start-Process in PSSession to Open Notepad

I've created a pssession on a remote computer and entered that possession. From within that session I use start-process to …

powershell powershell-3.0 start-process
Powershell Start-Process : This command cannot be executed due to the error: Access is denied

I'm trying to run start-process from a powershell script with given credential. Nevertheless the command fail with the following error: …

powershell access-denied start-process