%windir%system32WindowsPowerShellv1.0profile.ps1 用于计算机的所有用户和所有外壳。
%windir%system32WindowsPowerShellv1.0Microsoft.PowerShell_profile.ps1 用于计算机的所有用户,但仅用于 Microsoft.PowerShell 外壳。
%UserProfile%DocumentsWindowsPowerShellprofile.ps1 仅用于当前用户和所有外壳。
%UserProfile%DocumentsWindowsPowerShellMicrosoft.PowerShell_profile.ps1 仅用于当前用户和 Microsoft.PowerShell 外壳。
https://technet.microsoft.com/zh-cn/magazine/2008.10.windowspowershell.aspx