I am working on converting a powershell script to DSC Configuration to run a process.
[b]$si = new-object System.Diagnostics.ProcessStartInfo
$process = [System.Diagnostics.Process]::Start[$si][/b]
DSC Configuration block :
Below is the Error I am getting :
PowerShell provider MSFT_ProcessResource failed to execute Set-TargetResource functionality with error message: Failure starting process matching path
Please post your thoughts.
That means it was unable to find the executable at the path you specified, or the process did not start in time, or did not start at all.
It's possible that the process you are trying to start doesn't like being run with no security context, which is how DSC configurations run.
You must be logged in to reply to this topic.