docs(pwsh): create profile on error

This commit is contained in:
Surgat 2022-05-28 01:42:03 +02:00 committed by Jan De Dobbeleer
parent f3547c8d2a
commit 8b21a67d7a

View file

@ -35,6 +35,14 @@ Edit your PowerShell profile script, you can find its location under the `$PROFI
notepad $PROFILE
```
:::info
When the above command gives an error, make sure to create the profile first.
```powershell
New-Item -Path $PROFILE -Type File -Force
```
:::
Then add the following line.
```powershell