title: How can I use an Alias as function parameter, In PowerShell?
body: <p>I have an Alias named &quot;github&quot;, for example.</p>
  <pre><code>Set-Alias -Name github -Value &quot;C:\UserName\Folder\github&quot;
  </code></pre>
  <p>Also I have a function named &quot;goto&quot;, for example:</p>
  <pre><code>Function goto ( [string] alias ) { Set-Location -Path $alias }
  </code></pre>
  <p>How can I use this function on my terminal passing as parameter an alias.</p>
  <pre><code>&gt; goto github
  </code></pre>
  <p>Output: `cannnot find &quot;CurrentLocation\github&quot; folder, cause the function not resolve the alias as parameter</p>