A quick and dirty way to use PHP scripts to execute scripts in Azure is to run the scripts locally on a local machine using the Azure AD PowerShell extension.
You can then deploy the script locally to Azure instances in your environment and run the script remotely.
Azure AD is one of the few open source PowerShell modules that can do this.
You don’t need to install it yourself, but you can do it via PowerShell.
In this tutorial, I’ll show you how to use the Azure PowerShell extension to deploy a simple script to Azure.
You’ll also learn how to create and run a custom script using PowerShell.
If you’re looking to learn more about PowerShell and the Azure platform, be sure to check out this post by Paul Kaczmarek.
In the next tutorial, we’ll cover how to run scripts in an Azure account.