title | subtitle | author | date | source | snippet | gist | notoc |
---|---|---|---|---|---|---|---|
PowerShell Profile Paths |
Shows the various PowerShell profile paths by platform and version. |
Uzma Younas |
September 13, 2023 |
false |
Profile | Path |
---|---|
Current User - Current Host | $Home\[My]Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 |
Current User - All Hosts | $Home\[My]Documents\WindowsPowerShell\Profile.ps1 |
All Users - Current Host | $PSHOME\Microsoft.PowerShell_profile.ps1 |
All Users - All Hosts | $PSHOME\Profile.ps1 |
Profile | Path |
---|---|
Current User - Current Host | $Home\[My]Documents\Powershell\Microsoft.Powershell_profile.ps1 |
Current User - All Hosts | $Home\[My]Documents\Powershell\Profile.ps1 |
All Users - Current Host | $PSHOME\Microsoft.Powershell_profile.ps1 |
All Users - All Hosts | $PSHOME\Profile.ps1 |
Profile | Path |
---|---|
Current User - Current Host | ~/.config/powershell/Microsoft.Powershell_profile.ps1 |
Current User - All Hosts | ~/.config/powershell/profile.ps1 |
All Users - Current Host | /usr/local/microsoft/powershell/7/Microsoft.Powershell_profile.ps1 |
All Users - All Hosts | /usr/local/microsoft/powershell/7/profile.ps1 |