CmdID / az / az vmss / az vmss run-command
az vmss run-command invoke
Execute a specific run command on a Virtual Machine Scale Set instance. Azure CLI reference
4 options Its page in the Azure CLI reference
Options
--command-idThe command id--instance-idScale set VM instance id.--parametersspace-separated parameters in the format of '[name=]value'--scriptsSpace-separated script lines.