Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>By default, PowerShell is configured to resolve '~' to your user profile folder. Typically, this is 'c:\users\'.</p> <p>However, if you're running on a machine or in an environment which has had its home/user-profile folder moved somewhere other than 'c:\users...', then PowerShell might not be able to find the user profile folder.</p> <p>Moving your user-profile folder to a different location is likely to break MANY apps and, in fact, in Win8.1 has been seen to be the cause of numerous app crashes, system instability, etc. in addition to causing PowerShell to work incorrectly.</p> <p>Ed Bott recently wrote-up newly updated official guidance from Microsoft on this issue:</p> <p><strong><a href="http://www.zdnet.com/dont-move-your-windows-user-profiles-folder-to-another-drive-7000022142/" rel="nofollow">Don't move your Windows user profiles folder to another drive</a></strong></p> <p>You can tell PowerShell where it should look for your home folder using the answers given by Fez &amp; HLO:</p> <pre><code>(get-psprovider filesystem).Home = "C:\Users\&lt;user&gt;" </code></pre> <p>You may need to add the command above to your default PowerShell User Profile so that you don't have to keep typing the above line:</p> <pre><code>C:\Users\&lt;user&gt;\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 </code></pre> <p>If you want to move the location of your docs, photos, etc., it'll probably make more sense to add the new folders' locations to the appropriate Libraries. That way. anything that needs to write to the root of your user-profile (e.g. Git, SSH, etc.) can do so while anything that needs to write a doc/photo/music file can be transparently redirected to the alternate location.</p> <p>HTH.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload