title: Get path to the user home directory on Windows in PowerShell?
body: <p>I am trying to get the path to the current user's home directory (e.g. <code>C:\Users\User1</code>) while respecting different localizations of Windows (which have a different name for the <code>Users</code> folder).</p>
  <p>I have seen solutions in Batch, but isn't there a clean way of doing it in PowerShell?</p>