Powershell 6.x Profiles
Because I can never remember this:
All Users, All Hosts | $PsHome\Profile.ps1 |
All Users, Current Host | $PsHome\Microsoft.PowerShell_profile.ps1 |
Current User, All Hosts | $Home\Documents\PowerShell\Profile.ps1 |
Current user, Current Host | $Home\Documents\PowerShell\Microsoft.PowerShell_profile.ps |
$Profile | Current User, Current Host |
$Profile.CurrentUserCurrentHost | Current User, Current Host (Yeah the same as above) |
$Profile.CurrentUserAllHosts | Current User, All Hosts |
$Profile.AllUsersCurrentHost | All Users, Current Host |
$Profile.AllUsersAllHosts | All Users, All Hosts |