> ## Documentation Index
> Fetch the complete documentation index at: https://docs.flexagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# executeAzureCommand

> Run the Azure command/script, we can select the type of CLI from the drop down. Available options are shell, PowerShell, and WindowsShell. The default

Run the Azure command/script, we can select the type of CLI from the drop-down. Available options are shell, PowerShell, and WindowsShell. The default CLI type is the shell.

# Target Properties

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Property Name**</th><th>**Property Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Azure Cloud Account</td><td>`FDAZ_ACCOUNT_CODE`</td><td>No</td><td>Azure cloud account Name.</td></tr><tr><td>Azure CLI Path</td><td>`FDAZ_CLI_PATH`</td><td>No</td><td>The path to the directory where Azure CLI is installed.</td></tr></tbody></table>

# Inputs

<table><colgroup><col /><col /><col /><col /></colgroup><tbody><tr><th>**Input Name**</th><th>**Input Code**</th><th>**Required**</th><th>**Description**</th></tr><tr><td>Code Snippet</td><td>`FDCLOUD_CLI_INP_CODE_SNIPPET`</td><td>Yes</td><td>The command/script that is to be executed.</td></tr><tr><td>Azure Cloud Account</td><td>`FDAZ_INP_ACCOUNT_CODE`</td><td>No</td><td>Azure cloud account Name.</td></tr><tr><td>CLI Type</td><td>`FDAZ_INP_CLI_TYPE`</td><td>No</td><td>Select CLI Type ex: Shell,WindowsShell,PowerShell</td></tr><tr><td>Use PowerShell 6+</td><td>`FDAZ_INP_POWERSHELL6_OR_ABOVE`</td><td>No</td><td>Check If you want to execute the PowerShell script on PowerShell 6+.If it is unchecked then it will execute on PowerShell 1-5.</td></tr><tr><td>Restrict Environment</td><td>`FDCLOUD_CLI_INP_RESTRICT_ENVIRONMENT`</td><td>No</td><td>Provide comma-separated instance codes to restrict environment variables in shell to specified instance codes. If no value is provided all properties are available to shell environment. </td></tr><tr><td>No Secure Variables</td><td>`FDCLOUD_CLI_INP_NO_SECURE_VARIABLES`</td><td>No</td><td>Check if you do not want to pass secure/encrypted properties in shell environment.  </td></tr></tbody></table>

# Artifacts

This operation may produce or consume any artifacts.

# Endpoint Selection

This operation will select all available endpoints associated to the target.

# Endpoint Execution

This operation will execute on any one of the selected endpoints and will be random in the determination of which one.
