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:
Ana Hobden 2022-01-18 22:31:18 -08:00 committed by GitHub
parent d63f8dfd65
commit 75ad30673e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,7 +12,7 @@ $ export DEFMT_LOG=warn
### PowerShell
```console
$ Env: DEFMT_LOG = "warn"
$ $Env:DEFMT_LOG = "warn"
```
### Windows