Jakub Konecki
Jakub Konecki

Reputation: 46008

What's a difference between Azure PowerShell commandlets and Command-Line Tools?

What are the differences between Azure PowerShell Commandlets and Command-Line Tools?

I am interested in managing web sites, VMs and cloud services from developer's machine and also from Ci server (TeamCity/MSBuild - starting / stopping VMs).

I've noticed that Command-Line Tools is just a small ~5MB download while PowerShell commandlets have several dependencies (~22MB) and June 2013 version still relies on Azure SDK 1.8 October 2012.

Upvotes: 10

Views: 9069

Answers (3)

Michael
Michael

Reputation: 597

It appears that Powershell is a wrapper for the node tools. If you get an error in PS it will reference a .js file.

To test this simply allow your authentication token to expire without a login. The error message in the .json file it sends you to indicates a failure in a Javascript file.

Upvotes: 1

Mark Cowlishaw - MSFT
Mark Cowlishaw - MSFT

Reputation: 441

The release schedule for WIndows Azure PowerShell and the command line tools are both approximately once every 3 weeks. You can get the latest from the github repo at any time (as shown above).

Upvotes: 0

mcollier
mcollier

Reputation: 3719

The PowerShell cmdlets work only in PowerShell (on Windows machines). They're great for automating several concurrent tasks (i.e. scripting out an entire environment), or carrying out single tasks.

The command-line tools are cross platform tools (work on Windows, Linux, etc.) These are written in node.js. They're not as good for scripting multiple actions, but are great for developers that prefer the command line to execute tasks (instead of going to the Azure management portal).

As far as I can tell, they are not on a synced release schedule. You can follow the progress of each via their github.com repositories (https://github.com/WindowsAzure/azure-sdk-tools-xplat and https://github.com/WindowsAzure/azure-sdk-tools).

Upvotes: 9

Related Questions