Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The operations department has changed the location of the home network storage and with that my powershell profile stopped loading. If I print ´$PROFILE´ I get


As you can see it is missing the first part of the part to my home folder where the ´WindowsPowerShell´ folder is located. So my question is, how is ´$PROFILE´ resolved in PowerShell? Is it built up from environment variables or how does it work?

share|improve this question
up vote 1 down vote accepted

I think you will find what you need here:

Edit: so I guess that it is the %HOME% environment variable that is missing in your setup.

share|improve this answer
Please summarize your link (links can go down) – nixda Oct 22 '13 at 7:37
The %HOME% was set, the one that was missing was some group policy pointing out where the "My Documents" folder was located. This was due to a change in the infrastructure. – Tomas Jansson Oct 23 '13 at 8:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .