CmdID / az / az aks / az aks command
az aks command invoke
Run a shell command (with kubectl, helm) on your aks cluster, support attaching files as well. Azure CLI reference
2 options Its page in the Azure CLI reference
Options
--command, -cCommand or shell script you want to run.--file, -fFiles to be used by the command, use '.' to attach the current folder.