'Powershell 7.2 Profile can't create

In my pc with Windows 10 I installed Powershell 7.2.2 from Microsoft Store and now I wanna use Oh My Posh but i can't find, create or edit the $PROFILE file.

  • If I type echo $PROFILE this no return nothing.
  • If I type notepad $PROFILE, it open a empty notepad and i don't know where store it (file > save > path is my desktop)
  • If I type New-item –type file –force $profile, a message says error "path can't be null" ($profile not exists).

Any can help me?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source