Skip to content

Commit 81655d6

Browse files
authored
Merge pull request #189400 from JasonBeck2/patch-19
Adding note on parameter values
2 parents 08a6a66 + cb8e0cd commit 81655d6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

articles/virtual-machines/windows/run-command.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ The following example uses the [Invoke-AzVMRunCommand](/powershell/module/az.com
104104
```azurepowershell-interactive
105105
Invoke-AzVMRunCommand -ResourceGroupName '<myResourceGroup>' -Name '<myVMName>' -CommandId 'RunPowerShellScript' -ScriptPath '<pathToScript>' -Parameter @{"arg1" = "var1";"arg2" = "var2"}
106106
```
107+
> [!NOTE]
108+
> Parameter values can be string type only and the script is responsible for converting them to other types if needed.
107109
108110
## Limiting access to Run Command
109111

0 commit comments

Comments
 (0)