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. Generate PowerShell Script from actions user takes in Azure Management Portal.

    When a user performs one or more action in the Azure Management Portal that results in an activity in Azure the equivalent PowerShell scriptlet should be generated and the user be allowed to download it. This is similar to other Microsoft products that provide PowerShell script access for actions completed via the UI.

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

    This is a great idea. We are thinking about adding such functionality to the Portal. No confirmed plan yet. Thanks.

  2. Windows Azure VM Documentor

    This script should export the VM configuration like roles, drive configuration, memory, CPU, network settings to a csv file and Visio

    198 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  1 comment  ·  Powershell  ·  Flag idea as inappropriate…  ·  Admin →
  3. Endpoint Notification / Audit

    I would like a powershell script that will go out and discovery any/all configured endpoints (anytime a VM in IaaS is using an Azure public IP). Produce a list of all endpoints, with IPs and ports.

    This is to prevent the use of public endpoints on VMs running in Azure when we have a VPN into a private vNET. The code below almost does what I'm looking for but not able to get back every port.

    foreach ($item in Get-AzureService)
    {
    Get-AzureVM -ServiceName $item.Label -Name $item.Label| where {$_.PowerState -eq "Started"}
    @{
    #Name = "RDP";
    Expression = { ($_ | Get-AzureEndpoint…

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

    We will see whether there is a way to do this with the Current Windows Azure PowerShell and if not, what it would take to provide such functionality.

  4. PowerShell scripts for Azure ServiceBus management features

    I was looking the PowerShell CmdLet reference for managing the Azure ServiceBus. Although there is a REST API available, I would like to have CmdLets for creating/deleting queues, topics, subscriptions and manage rules.

    Is this planned or scheduled in a future release?

    33 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 →
  5. powershell timeout

    For all Azure Powershell commands that perform the API function of "Put Blob", such as Set-AzureDeployment, Set-AzureStorageBlobContent, and New-AzureDeployment, add a command parameter for the "timeout" URI parameter passed via the API. Currently, any such Powershell command results in a static "timeout" value of 90 (seconds) being passed via the API.

    Impact: Being able to define a "timeout" would be valuable for clients using PowerShell that have larger packages, slower connections, or the need to troubleshoot storage exceptions during storage or deployment operations.

    32 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 →
  6. create the Powershell (if possible CLI tools also) for Windows RT

    Wouldn't it be great for IT Pro's / Admins to have the Powershell CMDLet on Windows RT too?

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

    Would love to see how many people actually do this on a daily basis. Also, this requires all the code we use in PowerShell to be PCL. Doable but need to understand the value first.

  7. automatically download the latest ip ranges used by MS Azure Datacenters

    I see MS has provide website where you can download the public ip ranges used by MS Azure.

    The question is, is there a way to download the XML file from that site automatically using Python or other scripts? I am trying to schedule a task to grab the new IP range file and process it .

    Thanks,
    Adi

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

    Thank you for the feedback. We now have a report that is generated weekly on Mondays: Azure Service Tags JSON (https://www.microsoft.com/en-us/download/details.aspx?id=56519). This file includes all of the Service Tags and data by regions. This is an improvement over previous files as it includes tagging by Service Tag. We recommend you move to using this file and check weekly for updates. The file is broken out by Cloud (I.e. Public) and region (i.e., West US 2). We will take the RSS Feed request under advisement.

  8. Ensure the Powershell cmdlets are suitable for scripting, not just interactive use, by supporting the Get-OperationStatus cmdlet

    The Codeplex versions of the PowerShell cmdlets supported Get-OperationStatus, which caused the script to wait until a previous operation was complete. This allowed scripting of deployments.

    Without this the PowerShell cmdlets are of little use for continuous deployment scripting.

    19 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 →

    We understand the needs. Will think about besides expose the cmdlet, what else do we need to make it good for scripting.

  9. Identify the co-administrators in with a powershell cmdlet

    Need a way to view the administrators and co-administrators within a subscription

    11 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 →
  10. Support Worker Role in Powershell

    Poweshell has all the ability of a .NET program and it's quick and easy to write a script. Allow us to create a worker role in Powershell.

    10 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 →

    Just to make sure I understand it correctly. So the idea is having a work role implemented in PowerShell scripts so that people can run PowerShell scripts in a cloud service?

  11. add the ability to run PowerShell 3.0 from the System Center 2012 Orchestrator Runbook Run .Net Script without calling a subroutine

    I've documented this problem in the Windows Azure forums:
    http://social.technet.microsoft.com/Forums/en/scogeneral/thread/d0431d3f-52c3-41b4-be37-7c192e28a62a

    Basically you have to do a workaround to call PowerShell 3.0 from a System Center 2012 Orchestrator Runbook Run .Net Script Activity because for whatever reason the activity called PowerShell 2.0 instead which isn't supported by Windows Azure PowerShell. Calling subroutines is a royal pain.

    7 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 →
  12. Powershell Script to clone a VM with its Data Disks

    We have a scenario which may be a requirement to most IaaS users, we run VMs behind a load balancer, when we get a request to update, we remove one of the VMs from the load balancer, patch it and then test it. If tests are successful, we need to create a clone of the patched VM and then reinstate it behind the load balancer.

    6 votes
    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 →
  13. Fix the command line Azure scripts for slow network connections

    I currently use the command-line PowerShell scripts to deploy my PHP cloud service since I don't have PHP in Visual Studio. However, the command-line scripts do not upload the package using chunks as it does in Visual Studio. This means that on a slow connection (upload about 1Mb/s), it usually times out with a useless error message.
    I can workaround it by running the script and then ctrl-C after the package is built and before upload, at which point I have to upload via my browser in the portal but it is a pain.

    4 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Microsoft
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  14. Script to update particular Azure cloud service COnfiguration

    We are looking for powershell script to update particular azure clud service configuration. Set-AzureDeploment -Config does not have this feature.

    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 →
  15. 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.

  16. 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 →
  17. 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 →
  18. 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 →
  19. 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 →
  20. 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 →
← Previous 1
  • Don't see your idea?

Scripting and Command Line Tools

Feedback and Knowledge Base