wenbao与powershell

 

 

powershell配置文件$PROFILE

 

%windir%\system32\WindowsPowerShell\v1.0\profile.ps1 

此配置文件适用于所有用户和所有 shell。

%windir%\system32\WindowsPowerShell\v1.0\ Microsoft.PowerShell_profile.ps1 

此配置文件适用于所有用户,但仅适用于 Microsoft.PowerShell shell。

%UserProfile%\My Documents\WindowsPowerShell\profile.ps1 

此配置文件仅适用于当前用户,但会影响所有 shell。

%UserProfile%\My Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1 

此配置文件仅适用于当前用户和 Microsoft.PowerShell shell。

 

创建profile(默认没有)

new-item -path $profile -itemtype file -force

(配置)

 notepad++ $profile

 

只有不断学习才能进步!

 

posted @ 2018-04-14 13:41  wenbao  阅读(108)  评论(0编辑  收藏  举报