We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 08a6a66 + cb8e0cd commit 81655d6Copy full SHA for 81655d6
articles/virtual-machines/windows/run-command.md
@@ -104,6 +104,8 @@ The following example uses the [Invoke-AzVMRunCommand](/powershell/module/az.com
104
```azurepowershell-interactive
105
Invoke-AzVMRunCommand -ResourceGroupName '<myResourceGroup>' -Name '<myVMName>' -CommandId 'RunPowerShellScript' -ScriptPath '<pathToScript>' -Parameter @{"arg1" = "var1";"arg2" = "var2"}
106
```
107
+> [!NOTE]
108
+> Parameter values can be string type only and the script is responsible for converting them to other types if needed.
109
110
## Limiting access to Run Command
111
0 commit comments