title: PowerShell profile.ps1 not running on start
body: <p>I recently started to use PowerShell. I've been trying to set up my profile.ps1 to add an alias for vim.</p>
  
  <p>I edited the example profile.ps1 and then moved it to C:\Windows\System32\WindowsPowerShell\v1.0</p>
  
  <p>Which seemed like the correct location as I got the Error stating that running scripts isn't enabled on this machine. So I ran powershell as admin and ran this command:</p>
  
  <pre><code>Set-ExecutionPolicy RemoteSigned
  </code></pre>
  
  <p>Which got rid of the error message, but my script still seemed to do nothing. It looks like this:</p>
  
  <pre><code>#  Copyright (c) Microsoft Corporation.  All rights reserved.
  #  
  # THIS SAMPLE CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
  # WHETHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
  # WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
  # IF THIS CODE AND INFORMATION IS MODIFIED, THE ENTIRE RISK OF USE OR RESULTS IN
  # CONNECTION WITH THE USE OF THIS CODE AND INFORMATION REMAINS WITH THE USER.
  Write-Host "Hello world"
  Set-Alias vim ' C:\Program Files (x86)\Vim\vim74\vim.exe'
  </code></pre>
  
  <p>Vim still doesn't launch when typing "vim" and "hello world" isn't printed.</p>