Skip to content

Commit f1371ff

Browse files
committed
Adding review comments
1 parent 3b718cb commit f1371ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/automation/shared-resources/variables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ The activities in the following table are used to access variables in runbooks a
7171
Note that `Get-AutomationVariable` does not work in PowerShell, but only in a runbook or DSC configuration. For example, to see the value of an encrypted variable, you might create a runbook to get the variable and then write it to the output stream:
7272

7373
```powershell
74-
$testEncryptVar = Get-AutomationVariable -Name TestVariable
75-
Write-output "The encrypted variable value is: $testEncryptVar"
74+
$mytestencryptvar = Get-AutomationVariable -Name TestVariable
75+
Write-output "The encrypted value of the variable is: $mytestencryptvar"
7676
```
7777

7878
## Functions to access variables in Python 2 runbooks

0 commit comments

Comments
 (0)