POWERSHELL CMDLETS
19/02/2013
Pavlo Revenkov
EPAM Cloud Computing Competence Center
pavlo_revenkov@epam.com
DEVELOPMENT TOOLS
• SDK:
• .NET;
• Java;
• Node.JS;
• PHP;
• Python;
• Ruby.
REST API – ordinary HTTP requests. Unified standard for any device.
SDK – wrapper over REST API.
REST API
http://.../
Smartphone
Tablet Computer
Laptop
REST API
http://.../
Windows
Linux
Mac
MANAGEMENT TOOLS
• Command line tools:
• Windows (PowerShell);
• Linux (Bash);
• Mac (Bash).
REST API – ordinary HTTP requests. Unified standard for any device.
All operations can be performed from command line interface.
FEATURES
Command line tools allows you to manage:
• Subscriptions;
• Storage Accounts;
• Virtual Machines;
• Virtual Networks;
• Cloud Services;
• Web Sites;
• Service Bus.
FEATURES
Command line tools available for SQL Azure also!
You can manage:
• Databases;
• Servers;
• Firewall rules.
SYNTAX
Get-
New-
Add-
Remove-
Set-
Start-
Azure
Subscription
StorageAccount
VM
SqlDatabase
…
Parameters
SYNTAX
New-AzureStorageAccount
-StorageAccountName $storageAccount
-Location $location
Set-AzureSubscription
-SubscriptionName $subscription
-CurrentStorageAccount $storageAccount
New-AzureVM
-ServiceName $name
-Location $location
OUTPUT
POWERSHELL FEATURES
Windows Azure PowerShell Cmdlets supports all PowerShell features:
Variables:
$storageAccount = 'epamteststorage'
Indexes:
(Get-AzureSubscription)[0]
Properties:
$image = (Get-AzureVMImage)[0].ImageName
…and more.
REFERENCES
Getting started with Windows Azure Cmdlets
• http://msdn.microsoft.com/en-us/library/windowsazure/jj554332.aspx
Windows Azure Management Cmdlets
• http://msdn.microsoft.com/en-us/library/windowsazure/jj152841.aspx
Use Windows Azure Cmdlets
• http://msdn.microsoft.com/en-us/library/windowsazure/jj835083.aspx
Windows Azure SQL Database Cmdlets
• http://msdn.microsoft.com/en-us/library/jj585422.aspx
QUESTIONS?

Windows Azure PowerShell Cmdlets