call multiple powershell scripts from a single powershell script -


how call multiple powershell scripts single powershell script?

i have web search -

file "folderwatchermain.ps1" contains code:

$externalmethod = "d:\a\folderwatcher1.ps1" .$externalmethod $externalmethod = "d:\a\folderwatcher2.ps1" .$externalmethod 

this isn't working. suggestions dear members. thank you.

it this

$psscriptroot="d:\a"     $externalmethod = $psscriptroot + ".\folderwatcher1.ps1"      .$externalmethod      $externalmethod = $psscriptroot + ".\folderwatcher2.ps1"      .$externalmethod 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -