![automation arraysync automation arraysync](https://qlik.imgix.net/us/-/media/images/global-us/site-content/products/attunity/compose-data-warehouses/attunity-compose-data-warehouse-4-2-2x.jpg)
You can then use this job object with Get-AzAutomationJob to determine the status of the job and Get-AzAutomationJobOutput to retrieve its output. Start-AzAutomationRunbook returns a job object that you can use to track status once the runbook is started. Start-AzAutomationRunbook -AutomationAccountName "MyAutomationAccount" -Name "Test-Runbook" -ResourceGroupName "ResourceGroup01"
#Automation arraysync code
The following sample code starts a runbook called Test-Runbook.
#Automation arraysync windows
You can use the Start-AzAutomationRunbook to start a runbook with Windows PowerShell.
![automation arraysync automation arraysync](https://hostingcontroller.com/images/Solutions/One-to-One-Banner-1.jpg)
Request authenticated with certificate, or Oauth user principal / service principal.Call from any custom code that can make HTTP requests.Most flexible method but also most complex.Client required to support PowerShell cmdlets.
![automation arraysync automation arraysync](https://www.simego.com/content/attachments/blog_fb540bbf-6192-4420-a276-9d7d396493f1.png)
Request is authenticated with certificate or OAuth user principal / service principal.Can be included in automated feature with multiple steps.Call from command line with Windows PowerShell cmdlets.Access authenticated with Azure sign in.Form to provide simple parameter values.Simplest method with interactive user interface.Details on the other methods are provided in other documentation that you can access from the links below. This article includes details on starting a runbook with the Azure portal and with Windows PowerShell. The following table helps you determine the method to start a runbook in Azure Automation that is most suitable to your particular scenario.