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. Script to login to Azure Subscription using ARM runbooks

    Since Azure ARM has a different way of interfacing the system using the Powershell ARM runbooks might be a good idea to write a script syntax how to connect to the subscription.

    1 vote
    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. Move to Azure SQL server to another dataabase

    Please add a PoSH script to move a logical server on Azure from one subscription to another subscription.

    1 vote
    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 →
  3. Provide generic PowerShell commands to create certificates

    Creating certificates for various purposes (eg. Azure management certificates, VPN root certificate, VPN client certificate) typically involve calling some odd-looking makecert.exe commands, that the average person cannot understand.

    Please develop a generic PowerShell module for the Windows platform that allows people to easily generate certificates for Azure, and other purposes.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  4. Sample scripts from Wizard

    Instead of having people DIG for the scripts, have the sample script available after execution of a provisioning wizard in the same manner you did with Exchange 2010, System Center and even the Active Directory Administration Center. You'll create far higher adoption with a better ease of use for Cloud application deployment AND be doing something Amazon ISN'T !

    1 vote
    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 →
  5. Script an existing VM hosting SQL Server

    I have a VM in Azure hosting SQL Server 2014. Can I script this set up? Would I be able to change the script to change the VM's name? Could I change the script to upgrader to SQL Server 2016?

    1 vote
    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. CLI error messages refer to flattened json template inputs

    Messages in templates provided to the CLI include the line and column number of the error, which is nice, except the line number is always "1" and the column number is usually in the thousands. Seems like the json template is being parsed into one long string first and then validation errors are being reporting on that.

    It would be useful to get the actual line numbers reflecting the original input template file.

    1 vote
    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. endpoint

    Script para crear un rango de puertos en azure

    1 vote
    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 →
  8. Please stop relying on QuickStart templates to demonstrate so much - they are mostly unusable for Production scenarios

    When I search online for how to script resources in Azure using Powershell, I find way too many "QuickStart Templates" that are imported using the New-AzureRmResourceGroupDeployment cmdlet. This is not "using Powershell". These template inevitably have a kernel of what I need to do. But they are coded to a convoluted JSON structure that it is impossible to unpick and customize to an actual Production scenario.

    I actually believe that most of these examples are "export to script" output from the Portal and have not really be crafted to be useable by DevOps.

    Please stop delivering examples using this technique:…

    1 vote
    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. CDN Profile & endpoint creation

    Script that creates CDN Profile & endpoint creation

    1 vote
    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. script that creates a report on utiliization of all vms in a subscription

    we could really use an powershell script [ and runbook ] story for reporting on the utilization of all vms in a subscription over the course of the past 7 - 14 days.

    1 vote
    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 →
  11. Find a way to silently install Azure point-to-site exe files for clients so an automated install can be done. boss wants NO user input

    Find a way to silently install Azure point-to-site exe files for clients so an automated install can be done. boss wants NO user input, even if it just involves clicking YES. i for one have no mercy for spoonfeeding intelligent people who disregard emails or can mess up a double-click, but sadly this is the real world.

    1 vote
    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. Script to deplay fortigate firewall in Azure

    Fortigate (Fortinet) firewall in Azure I cant actually find a script.

    1 vote
    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 →
  13. Quickly create a VM based on an image from Azure Gallery

    A script should create a VM with configured parameters like ones in the "Quick VM Create" Azure wizard (without a virtual network):
    - subscription
    - VM name
    - image ID or name (latest version available)
    - cloud service (new or existing)
    - storage account (new or existing)
    - data center location (country)
    - tier (basic or standard) / VM size
    - user name
    - password

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  14. Attaching Azure Diagnostics using Powershell

    The extension Id issue between production and staging.

    Steps to replicate:
    1. Deploy your sample application with worker role to Staging
    2. Attach diagnostics to Staging
    3. Promote/Swap application to Production
    You will see that the extension also gets swapped to production (you can use Get-AzureServiceDiagnosticsExtension with ServiceName and Slot option to check that) .
    4. Now if we do another deployment to Staging and try to add the diagnostics to Staging it gives an error saying Diagnostics for the extension id already exists. This is because when we swapped staging and production in step 3 the extension also got…

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  15. update management

    Azure Cli does not support Update Management. This is needed in order to automate more than just scheduled updates from the web portal.

    We need the ability to create, edit and delete schedules + retrieve update deployment status for specific schedules + list of onboarded machines.

    1 vote
    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 →
  16. Allow a major version to be specified for Set-AzureVMChefExtension

    Since Chef 12 is out, I've noticed the chef client software has been automatically upgraded to Chef 12. It would be useful to specify a Chef 11 or Chef 12 client on the command line to install the software that bests supports the Chef server one is running.

    1 vote
    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 →
  17. 1 vote
    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. Powershell from approved IP addresses

    Wanted to see an IP whitelist for Powershell activities into my environment. The only external IPs that are allowed to run Powershell in my environment would need to be part of this whitelist.

    1 vote
    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. CSV to AzurTable and back

    Import a CSV file into Azure Table (and also be able to update/sync it) as new data comes into the CSV file. (Same the other way around).

    1 vote
    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 →
  20. How to upload war file to WebApps directly with PowerShell script

    How to upload war file to WebApps directly with PowerShell script

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

Scripting and Command Line Tools

Categories

Feedback and Knowledge Base