title: How do I access files in a Shared Library?
body: <p>I have a Shared Library with a .groovy script that I call in a jenkinsfile like this:</p>
  
  <pre><code>MySharedLibFunction{ .. some args}
  </code></pre>
  
  <p>I also have a .ps1 file in my shared library I want to execute. But if I do <code>powershell pwd</code> from in my shared library function when I call that function from my jenkinsfile the current working directory is the jenkins working directory of my pipeline where the jenkinsfile is located (which is usually what you want).</p>
  
  <p>Is there a way to access files in the shared lib? I want to do <code>powershell -File ps1FileInMySharedLibVarsFolder.ps1</code> </p>