You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can create profile scripts that run for all users or just one user, the CurrentUser. CurrentUser profiles are stored in the user's home directory.
This is absolutely, unequivocall, incorrect. The user's home directory is %USERPROFILE%. Because of some absolute nonsense, Powershell's default is to store these in C:Users\username\Documents
Which is absurd by the way. I don't want my configuration files appearing in Documents, and I'm not sure this is a reasonable default for anyone, either.
While I'm posting this, is there any way to configure powershell to use a different path for this profile file? Editing the registry key as discussed here is unreasonable as this has gross ramifications elsewhere. (Can someone point me to the place where I can request this to be changed?)