Is it possible to change the default value of $profile to a new value?

前端 未结 8 1539
予麋鹿
予麋鹿 2020-12-10 01:18

So I would rather not create my profile file here:

C:\\Users\\fmerrow\\Documents\\WindowsPowerShell\\Microsoft.PowerShell_profile.ps1

I mea

8条回答
  •  情书的邮戳
    2020-12-10 01:43

    Try junctions by running this command in powershell:

    cmd /c mklink /J c:\Users\Name\Documents\WindowsPowerShell\ d:\Powershell\Engine\Profile\
    

    For more information about junctions see here.

提交回复
热议问题