Skip to content

Commit e6fe365

Browse files
committed
update
1 parent 7bca82f commit e6fe365

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-resource-manager/bicep/bicep-functions-parameters-file.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,13 @@ The string value of the environment variable or a default value.
8383

8484
### Remarks
8585

86-
The following command only sets the environment variable for the PowerShell process where you run the command from.
86+
The following command sets the environment variable only for the PowerShell process in which it is executed.
8787

8888
```PowerShell
8989
$env:testEnvironmentVariable = "Hello World!"
9090
```
9191

92-
You get [BCP338](./diagnostics/bcp388.md). To set the environment variable at the user level, use the following command:
92+
You will get [BCP338](./diagnostics/bcp388.md). To set the environment variable at the user level, use the following command:
9393

9494
```powershell
9595
[System.Environment]::SetEnvironmentVariable('testEnvironmentVariable','Hello World!', 'User')
@@ -98,7 +98,7 @@ You get [BCP338](./diagnostics/bcp388.md). To set the environment variable at th
9898
To set the environment variable at the machine level, use the following command:
9999

100100
```powershell
101-
[System.Environment]::SetEnvironmentVariable('testEnvironmentVariable','Hello World!', 'User')
101+
[System.Environment]::SetEnvironmentVariable('testEnvironmentVariable','Hello World!', 'Machine')
102102
```
103103

104104
For more information, see [Environment.SetEnvironmentVariable Method](/dotnet/api/system.environment.setenvironmentvariable).

0 commit comments

Comments
 (0)