Skip to content
  • reliability: "20% (author)"
  • date: 2024-11-28
  • os: "Linux DESKTOP-VDB57PP 5.15.153.1-microsoft-standard-WSL2+ #2 SMP Sun Oct 27 22:02:06 CST 2024 x86_64 x86_64 x86_64 GNU/Linux"
  • author: "4070s wsl julyfun"
  • assume-you-know: [computer]

Where is powershell rc

In powershell, run $profile.

You get something like:

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

Then you should create C:\Users\julyfun\Documents\WindowsPowerShell\profile.ps1.