mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-10 16:25:37 +00:00
Correct Powershell Env setting
In Powershell env vars are set via ```powershell > $Env:DEFMT_LOG = "trace" ``` Trying to run the example, as formatted prior to this change: ```powershell > Env: DEFMT_LOG = "trace" Env: : The term 'Env:' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + Env: DEFMT_LOG = "trace" + ~~~~ + CategoryInfo : ObjectNotFound: (Env::String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException ``` This is documented in https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_environment_variables?view=powershell-7.2.
This commit is contained in:
parent
d63f8dfd65
commit
75ad30673e
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ $ export DEFMT_LOG=warn
|
||||||
|
|
||||||
### PowerShell
|
### PowerShell
|
||||||
```console
|
```console
|
||||||
$ Env: DEFMT_LOG = "warn"
|
$ $Env:DEFMT_LOG = "warn"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
Loading…
Reference in a new issue