There is a command group 'az_connectedmachine_run command'. This group of commands could 'manage run commands on an azure arc enabled server'. The group of commands has global parameter '--debug' which means 'Increase logging verbosity to show all debug logs.'. The group of commands has global parameter '--help -h' which means 'Show this help message and exit.'. The group of commands has global parameter '--only-show-errors' which means 'Only show errors, suppressing warnings.'. The group of commands has global parameter '--output -o' which means 'Output format.'. The group of commands has global parameter '--query' which means 'JMESPath query string. See <a href="http://jmespath.org/">http://jmespath.org/</a> for more information and examples.'. The group of commands has global parameter '--subscription' which means 'Name or ID of subscription. You can configure the default subscription using `az account set -s NAME_OR_ID`.'. The group of commands has global parameter '--verbose' which means 'Increase logging verbosity. Use --debug for full debug logs.'. This group contains a child command 'az_connectedmachine_run command_create'.The syntax is: az connectedmachine run-command create --machine-name
                                       --name
                                       --resource-group
                                       [--async {0, 1, f, false, n, no, t, true, y, yes}]
                                       [--command-id]
                                       [--error-blob-managed-identity]
                                       [--error-blob-uri]
                                       [--location]
                                       [--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
                                       [--output-blob-managed-identity]
                                       [--output-blob-uri]
                                       [--parameters]
                                       [--password]
                                       [--protected-parameters]
                                       [--run-as-user]
                                       [--script]
                                       [--script-uri]
                                       [--script-uri-managed-id]
                                       [--tags]
                                       [--timeout]. The 1th example of the child command would be to use it to 'sample command for run command create', the syntax is: az connectedmachine run-command create --resource-group "myResourceGroup" --location "West US" --async false --parameters "[{"name":"param1","value":"value1"}]" --password "<runAsPassword>" --user "user1" --script "Write-Host Hello World!" --timeout 3600 --name "myRunCommand" --machine-name "myMachine" --subscription "mySubscription"
az connectedmachine run-command create --resource-group "myResourceGroup" --location "West US" --script "Write-Host Hello World!" --name "myRunCommand" --machine-name "myMachine" --output-uri "https://mystorageaccount.blob.core.windows.net/mycontainer/RuncommandOutput.txt?sp=racw&st=2022-10-17T19:02:15Z&se=2022-10-18T03:02:15Z&spr=https&sv=2021-06-08&sr=b&sig=3BxtEasfdasdfasdfdYki9yvYsqc60V0%3D" --subscription "mySubscription". The parameter '--machine-name' is required. It is used to the name of the hybrid machine.. The parameter '--name --run-command-name -n' is required. It is used to the name of the run command.. The parameter '--resource-group -g' is required. It is used to name of resource group. you can configure the default group using `az configure --defaults group=<name>`.. The parameter '--async --async-execution' is optional. optional. if set to true, provisioning will complete as soon as script starts and will not wait for script to complete.. The parameter '--command-id' is optional. specifies the commandid of predefined built-in script.. The parameter '--error-blob-managed-identity --error-id' is optional. user-assigned managed identity that has access to errorbloburi storage blob. use an empty object in case of system-assigned identity. make sure managed identity has been given access to blob's container with 'storage blob data contributor' role assignment. in case of user-assigned identity, make sure you add it under vm's identity. for more info on managed identity and run command, refer https://aka.ms/managedidentity and https://aka.ms/runcommandmanaged  support shorthand-syntax, json-file and yaml-file. try "??" to show more.. The parameter '--error-blob-uri --error-uri' is optional. specifies the azure storage blob where script error stream will be uploaded. use a sas uri with read, append, create, write access or use managed identity to provide the vm access to the blob. refer errorblobmanagedidentity parameter.. The parameter '--location -l' is optional. the geo-location where the resource lives  when not specified, the location of the resource group will be used.. The parameter '--no-wait' is optional. do not wait for the long-running operation to finish.. The parameter '--output-blob-managed-identity --output-id' is optional. user-assigned managed identity that has access to outputbloburi storage blob. use an empty object in case of system-assigned identity. make sure managed identity has been given access to blob's container with 'storage blob data contributor' role assignment. in case of user-assigned identity, make sure you add it under vm's identity. for more info on managed identity and run command, refer https://aka.ms/managedidentity and https://aka.ms/runcommandmanaged  support shorthand-syntax, json-file and yaml-file. try "??" to show more.. The parameter '--output-blob-uri --output-uri' is optional. specifies the azure storage blob where script output stream will be uploaded. use a sas uri with read, append, create, write access or use managed identity to provide the vm access to the blob. refer outputblobmanagedidentity parameter.. The parameter '--parameters' is optional. the parameters used by the script.  support shorthand-syntax, json-file and yaml-file. try "??" to show more.. The parameter '--password --run-as-password' is optional. specifies the user account password on the machine when executing the run command.. The parameter '--protected-parameters' is optional. the parameters used by the script.  support shorthand-syntax, json-file and yaml-file. try "??" to show more.. The parameter '--run-as-user --user' is optional. specifies the user account on the machine when executing the run command.. The parameter '--script' is optional. specifies the script content to be executed on the machine.. The parameter '--script-uri' is optional. specifies the script download location. it can be either sas uri of an azure storage blob with read access or public uri.. The parameter '--script-uri-managed-id --script-uri-managed-identity' is optional. user-assigned managed identity that has access to scripturi in case of azure storage blob. use an empty object in case of system-assigned identity. make sure the azure storage blob exists, and managed identity has been given access to blob's container with 'storage blob data reader' role assignment. in case of user-assigned identity, make sure you add it under vm's identity. for more info on managed identity and run command, refer https://aka.ms/managedidentity and https://aka.ms/runcommandmanaged.  support shorthand-syntax, json-file and yaml-file. try "??" to show more.. The parameter '--tags' is optional. resource tags.  support shorthand-syntax, json-file and yaml-file. try "??" to show more.. The parameter '--timeout --timeout-in-seconds' is optional. the timeout in seconds to execute the run command.. 