Scripting and Command Line Tools

Azure provides two command line tools – PowerShell and Cross-Platform CLI – for you to manage your Azure subscriptions, accelerate your development and automate tasks via scripting, no matter whether you are on Windows, Mac or Linux.

If you have any feedback on Azure PowerShell or Azure Cross-Platform CLI, we’d love to hear it.

  1. Keep Azure Powershell Cmdlts up to date with Portal Functionality

    There are several things that you can do the in Management Portals that you are unable to do via powershell script. Such as setting Alerts, Backups for Websites, Automated Backups for SQL DB ,etc. These are crucial for anyone want to migrate a large set of DB's or websites over to Azure -- being able to automate these items instead of having to manually do in the portal.

    4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  2. Azure PowerShell: get-azureresourceapiversion

    Seems to be quite a mystery to fins out how to get the ApiVersion in Azure PowerShell to execute commands like remove-azureResource and plenty other.

    why not develop a command like get-azureresourceapiversion that does the obvious ??

    4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    2 comments  ·  Flag idea as inappropriate…  ·  Admin →

    This is good feedback. We most likely will provide a Get-AzureResourceProvider cmdlet which will return the available resource providers, resource types and their versions.

  3. Timestamp on Shell interfaces

    When running various commands etc, it would be useful to have a timestamp on the shell, to understand, from a shell view perspective, how long certain commands are taking to run.

    4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. add application-gateway multi-site http-listener support in azure-cli

    Could you consider adding support for application-gateway multi-site http-listeners in azure-cli (and azure 2.0 preview)?

    4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  5. Allow subscription level deployments using the Azure Deployment Template

    Would like to leverage the new commands of Add New-AzureRMDeploymen\az deployment to allow the deployment of resources at the subscription level in the Azure Deployment Template form. Currently the form only support Resource Group deployments. The main use case would be the creation of a Resource Group itself. Would like to be about to create a resource group, from a template, using the Azure Template as the interface as outline in this article:
    https://docs.microsoft.com/en-us/azure/azure-resource-manager/deploy-to-subscription

    4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  6. azure cli available IPs of subnet

    Currently we can retrieve total available IPs of Vnet subnet(s) from Portal UI. But there is no way to get the same from Asure CLI. Suggest to add this function in AZ CLI similar to the following:

    az network vnet subnet show

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  7. Az Support for Loading SSL from KeyVault

    The new Az Module lacks support for the CustomDomainHttpsParameters so I can load an SSL certificate from the KeyVault. As it stands now, I have to first use the Az Module to see if the cert exists then hit the management REST API from code. That's not desirable.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  8. Powershell or API ability to add\remove to favorites bar on Azure portal

    The list of Azure services in the favorites bar on the left - would love to have a way of adding\removing this or creating a template that I can use when I have to manage a tenant. At the moment, as we are a CSP, each time a new tenant is added, I have to customize the favorites bar to my liking. I'd like to be able to automate this if possible,

    Thanks
    Shaun

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  9. PowerShell Script required to fetch Azure VM Size Pricng for the particular region

    Like Get-AzureRmVmSize -Location "East US" to fetch the list of Azure VM Size in the location we need PowerShell Script to fetch Azure VM Size Pricing for the particular region

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  10. Azure CLI and PS history

    Enable Azure CLI and PS command history when launching from Azure Portal.

    It would be great if we could use history by using up/down arrows when connecting with Azure CLI/PS using a new session/new command prompt from within Azure portal.

    It was default for PS and saved me a lot of work.

    Secondary Azure CLI installed on client pc does not offer history as well. info: used the default installer package (msi) from: https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?view=azure-cli-latest

    3rd. I do not see all traffic manager profiles when using ps - only CLI does. This is too bad that MS move away from Azure…

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  11. Discover Creation Date of Azure Subscription

    Hi,

    This is my first time posting here so if this is in the wrong place, I apologise.

    I am trying to figure out if it is possible to pull back when a subscription was created in Azure through the use of the Az module rest api's or Az CLI.

    My first thought was to pull back the purchase date of a subscription back but I have been unable to do so.

    Any help is appreciated.

    Thanks,

    Souvik Das

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  12. *Anything* that is possible to do via the Azure Portal *must* also be possible to do via ARM/Powershell/Azure-cli/terraform

    Hello,

    As I have been working more and more with Azure resources over the years, I keep noticing shortfalls between what's available in the Azure Portal vs. what's available via infrastructure automation tools. IaC allows us to peer-review changes that are otherwise hard to track/bisect if done via the UI. Please keep in mind to offer support for IaC when introducing features into the azure portal and enhance documentation with better examples.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  13. Tags property behavior should be the same for ResourceGroup and Resource

    I noticed a difference between the Tags property of a Resource Group and the Tags property of a single Resource.

    When a new Resource Group (without tags) is created and you get a reference to it using Get-AzureRmResourceGroup and inspect it's "Tags" property, it will return $null.

    When you do the same for a new Resource (without tags), using Get-AzureRmResource and querying the "Tags" property will throw a PropertyNotFound exception.

    I suggest a change where the behavior of both Tags properties is the same. When a Resource Group or a Resource has no tags set, either let their Tags property…

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  14. New-AzureRmIntegrationAccountMap more mapTypes

    I am deploying maps using New-AzureRmIntegrationAccountMap.

    I want to deploy Xslt20, Xslt30 and Liquid with powershell.

    When do you plan to add more mapTypes?

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  15. indicate through the cli/portal when a instance is actually reachable.

    The cli json output only indicates when the provisioningState: "Succeeded" however there is no indication in the json or through "az vm list" when the instance is actually reachable (via ssh or RDP).

    This is particularly important when you created an automation workflow dependent on when the instance is reachable. The reach-ability is quite variable dependent on whether it is a GPU instance (NC or NV) or one of the compute (F -series) instances.

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Xplat-CLI  ·  Flag idea as inappropriate…  ·  Admin →
  16. It is really bad idea to depricate Select-AzureRmProfile

    It is really bad idea to deprecate Select-AzureRmProfile
    A lot of community scripts/runbooks, internal scripts, etc,. are using that alias

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  17. Maintain User Defined Routes via DNS Name

    A script designed to run in Azure Automation which takes a list of DNS names and updates VNet User Defined Routes based on the current IPs.

    A config file would contain everything usually defined for a UDR, only with FQDNs instead of IPs. The script would resolve the FQDNs and then create the UDRs. When IPs change new rules would be added, but the rule for the old IP should also be retained until it has not been seen for 24 hours - to allow for transient changes or round robin DNS. This will require the script perform some state…

    3 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  18. SharePoint enviornment cofigure in windows azure

    At least provide a one tier enviornment configuration Poweshell script
    (AD, SQL, SharePoint, BizTalk)

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  19. Deploying VMs For SharePoint Farms

    It would be good to have a script that deploys VMs (and possibly the infrastructure) for the various Microsoft supported SharePoint Farm configurations. An independent script ie AutoSPInstaller could come along and install SharePoint and configure the farm

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  20. Generate documentation for your subscription by iterating over the Resource Groups & listing all details

    It would be great if there was a PowerShell script that was able to generate documentation (.txt would be fine..) for your subscription. Listing all resources and their details.

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?

Scripting and Command Line Tools

Categories

Feedback and Knowledge Base