Skip to content

Commit b4e9980

Browse files
committed
Minor updates
1 parent 3cc8647 commit b4e9980

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

articles/cognitive-services/cognitive-services-security.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ To set environment variables, use one the following commands - where the `ENVIRO
4747

4848
# [Command Line](#tab/command-line)
4949

50-
Create and assign environment variable, given the value.
50+
Create and assign persisted environment variable, given the value.
5151

5252
```CMD
5353
:: Assigns the env var to the value
54-
setx ENVIRONMENT_VARIABLE_KEY=value
54+
setx ENVIRONMENT_VARIABLE_KEY="value"
5555
```
5656

5757
In a new instance of the **Command Prompt**, read the environment variable.
@@ -63,7 +63,7 @@ echo %ENVIRONMENT_VARIABLE_KEY%
6363

6464
# [PowerShell](#tab/powershell)
6565

66-
Create and assign environment variable, given the value.
66+
Create and assign persisted environment variable, given the value.
6767

6868
```powershell
6969
# Assigns the env var to the value
@@ -79,11 +79,12 @@ In a new instance of the **Windows PowerShell**, read the environment variable.
7979

8080
# [Bash](#tab/bash)
8181

82-
Create and assign environment variable, given the value.
82+
Create and assign persisted environment variable, given the value.
8383

8484
```Bash
8585
# Assigns the env var to the value
86-
export ENVIRONMENT_VARIABLE_KEY=value
86+
sudo -H gedit /etc/environment
87+
ENVIRONMENT_VARIABLE_KEY="value"
8788
```
8889

8990
In a new instance of the **Bash**, read the environment variable.

0 commit comments

Comments
 (0)