Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Where are the Windows PowerShell Profile files stored?

0
Posted

Where are the Windows PowerShell Profile files stored?

0

In a change from RC1, the PowerShell profile files are now stored two locations: User-specific profiles are now stored in \WindowsPowerShell Machine-wide profiles are stored in the PowerShell Install Directories (see the answer to the question above). Note that this means you can have separate machine-wide profiles for 32bit and 64bit instances of PowerShell. Why these locations? I was going to write up a long summary post of our many in depth conversations, but Lee Holmes has helpfully beat me to the punch. You can learn all about the rationale for these changes on his blog: http://www.leeholmes.com/blog/TheStoryBehindTheNamingAndLocationOfPowerShellProfiles.aspx Hopefully this helps to answer some of the questions you may have had with the recent changes in Windows PowerShell RC2. If you have any additional questions, please post a comment here on the blog.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123