title: How to use powershell/bash script file in azure pipeline template
body: <p>example: Azure Devops, I have one organization, few projects, and few repositories inside each project (most of them contains build pipelines):</p>
  
  <p>ORGANIZATION:<br>
  ..-- Project1<br>
  .....-- Repo1<br>
  .....-- Repo2<br>
  ..-- Project2<br>
  .....-- Repo1<br>
  .....-- Repo2<br>
  ..-- BuildTemplates<br>
  .....-- BuildTemplatesRepository<br>
  ........-- Template1.yml<br>
  ........-- Template2.yml<br>
  ........-- Template1.ps1  </p>
  
  <p>Template1.yml contains powershell task or step:
  - pwsh: ./Template1.ps1</p>
  
  <p>Problem:
  When Template1.yml executes inside pipelines from another repo (Project1/Repo1/azure-pipelines.yml) I get error:<br>
  [error]ENOENT: no such file or directory, stat '/home/vsts/work/1/s/Template1.ps1'  </p>
  
  <p>I understand why there is error, because *.ps1 file isn't copied inside container where process is going on, but how to solve this issue in best way (without coping this script manually)?</p>