The different profiles for shell access
As per
$PSHOME is /opt/microsoft/powershell/7/
- User profiles are read from ~/.config/powershell/profile.ps1
- Default profiles are read from $PSHOME/profile.ps1
- User modules are read from ~/.local/share/powershell/Modules
- Shared modules are read from /usr/local/share/powershell/Modules
- Default modules are read from $PSHOME/Modules
- PSReadLine history is recorded to ~/.local/share/powershell/PSReadLine/ConsoleHost_history.txt