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
Update BMM run-read-command examples to conform to Azure CLI Shorthand format
Replace single quoted strings with double quoted strings to fix 'Failed to parse' azure CLI errors on Windows (cmd).
Add additional examples and explanation for the --commands parameter.
Multiple commands can be provided in json format to `--commands` option.
352
+
- The `--commands` parameter always takes a list of commands, even if there's only one command.
353
+
- Multiple commands can be provided in json format using [Azure CLI Shorthand](https://aka.ms/cli-shorthand) notation.
354
+
- Any whitespace must be enclosed in single quotes.
355
+
- Any arguments for each command must also be provided as a list, as shown in the following examples.
353
356
354
-
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.
357
364
@@ -377,7 +384,7 @@ az networkcloud baremetalmachine run-read-command --name "<bareMetalMachineName>
377
384
```azurecli
378
385
az networkcloud baremetalmachine run-read-command --name "<bareMetalMachineName>" \
0 commit comments