title: How to create permanent PowerShell Aliases
body: <p>I want to create an <code>alias</code> of a <code>cmdlet</code> that doesn't expire after I close the current session of Powershell, let's say I have this alias :</p>
  
  <pre><code>C:\Users\Aymen&gt; New-Alias Goto Set-Location
  </code></pre>
  
  <p>This perfectly creates the <code>Goto</code> alias, but I want to use it even after I close the current session, how can I achieve that.</p>
  
  <p><strong>Note:</strong></p>
  
  <p>The PowerShell Help system suggests that I can export the aliases I create, and import them next time I open a new session, actually that's not really what I'm looking, for, is there a direct clear way to keep having a alias after I create it through different sessions</p>