New to Powershell but I am trying to kick off a batch file with a Powershell script, I have included the script below with the servers taken out. It is not kicking off the the .bat file, can you tell me why?
Everything looks good to me.
You should read the complete help for the cmdlet Start-Process including the examples.
Get-Help Start-Process -Full
Start-Process -FilePath $Env:ComSpec -ArgumentList '/c \\server\folder\folder\_batch.bat'
A batch file is not an executable
Why do you need batch if you are launching Powershell?
You must be logged in to reply to this topic.