Hi Guys,
Is it possible to run a AZ Cli command within my powershell runbook in Azure?
From Azure cloud shell i am able to execute the CLI commands to perform some tasks on my remote machine within azure network. I want to incorporate the same commands within my Powershell runbook.
az --vm run-command invoke --command-id RunShellScript --resource-group 'AUTOMATION_TESTRG' --name 'testing-vm-stripe' --scripts '/tmp/one.sh'
Regards,
Janakiraman