You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Multiple commands can be provided in json format to `--commands` option.
254
+
- The `--commands` parameter always takes a list of commands, even if there's only one command.
255
+
- Multiple commands can be provided in json format using [Azure CLI Shorthand](https://aka.ms/cli-shorthand) notation.
256
+
- Any whitespace must be enclosed in single quotes.
257
+
- Any arguments for each command must also be provided as a list, as shown in the following examples.
255
258
256
-
For a command with multiple arguments, provide as a list to `arguments` parameter. See [Azure CLI Shorthand](https://github.com/Azure/azure-cli/blob/dev/doc/shorthand_syntax.md) for instructions on constructing the `--commands` structure.
These commands can be long running so the recommendation is to set `--limit-time-seconds` to at least 600 seconds (10 minutes). Running multiple commands might take longer than 10 minutes.
259
266
@@ -279,7 +286,7 @@ az networkcloud baremetalmachine run-read-command --name "<bareMetalMachineName>
279
286
```azurecli
280
287
az networkcloud baremetalmachine run-read-command --name "<bareMetalMachineName>" \
0 commit comments