Hi all I am not able to log the errors or the content from the other function which are getting called from main function
cls
function one
{
   $logFile = "mypath\errorlog.log"
   Start-Transcript -path $logFile -Append | Out-Null
  try
 {
    two
 }
catch
{
}
finally
{
    Stop-Transcript
}
}
function two
{
  $arguments =  @("`"$myfile`"", "/s:`"$logPath`"")
  Start-Process -FilePath myexepath -ArgumentList $arguments -wait
 // when ever there are errors or some thing that is getting logeed in to $logPath that is not getting writing in to my Transcript
}
So can some one help me