ºÝºÝߣ

ºÝºÝߣShare a Scribd company logo
¡°Global Windows Azure BootCamp 2014¡±
¡°How to connect to
Windows Azure using
PowerShell¡±
http://bit.ly/1g6fBCC
Please
note !
¡°Intro : Windows ´¡³ú³Ü°ù±ð¡±
Windows Azure
Windows Azure is an open and flexible cloud platform that enables you
to quickly build, deploy and manage applications across a global
network of Microsoft-managed datacentres.
You can build applications using any language, tool or framework. And
you can integrate your public cloud applications with your existing IT
environment.
Benefits
1. Eco friendly
2. Improved TCO
3. Increased Stability
4. As Service
1. Software as Service
2. Platform as Service
5. Datacentre in the Cloud
Single Place for.
1. Hosting Websites
2. Virtual Machines
3. Mobile Services
4. Media
5. SQL Database
6. BIG Data
7. Visual Studio Online
8. Biz Talk Server
¡°Intro : Windows
PowerShell¡±
1. Designed by ¡°Jeffrey Snover, Bruce Payette and James Truher
2. Started as project ¡°Monad¡± in 2002 , in April 2005 Microsoft renamed it as
¡°Windows PowerShell¡±.
3. For windows XP, Server 2003 available as optional feature.
4. Now Integrated in Windows 7 and later OS.
5. Current version is 4.0
6. Task based Command Line Shell and Scripting Language.
7. Based on .NET framework.
8. Syntax: verb-noun
9. It is a scripting language but we can design GUI Applications too.
Windows PowerShell
PowerShell GUI Applications
# Multiple Sites
$mySitesNames = "SalesGlobalLogic",
"ITGlobalLogic",
"InfoGlobalLogic"
foreach ( $siteName in $mySitesNames )
{
Write-Host "Crating website $siteName" -ForegroundColor Green
New-AzureWebsite -Location "East Asia" -Name $siteName
}
Scripts¡­
Let¡¯s Get Started ..
¡°Download Windows
Azure PowerShell
Module¡±
Windows Azure PowerShell
Module
? Microsoft Web Platform Installer
http://bit.ly/1i14PAe
? WindowsAzurePowerShell.3f.3f.3fnew
¡°Installing Windows
Azure PowerShell
Module¡±
±õ²Ô²õ³Ù²¹±ô±ô¾±²Ô²µ¡­
I Accept..
±õ²Ô²õ³Ù²¹±ô±ô¾±²Ô²µ¡­
Windows Powershell and Microsoft Azure : ¡°Global Windows Azure BootCamp 2014 ºÝºÝߣs
Finish..
Yayyy!!!
¡°Connect to Windows
´¡³ú³Ü°ù±ð¡±
1. Active Directory Authentication
1. Expire after 12 Hours
2. Certificate Authentication
1. They are valid until the subscription in available and certificates are valid.
Two types of Methods to
connect
1. Using ¡°Add-AzureAccount¡± cmdlet.
Azure Active Directory
Authentication
¡°¶Ù±ð³¾´Ç¡±
¡°http://newdelhipowershell
usergroup.blogspot.in/2014
/02/part-2-azure-and-
powershell-connect-
to.html¡±
1. Get-AzurePublishSettingsFile
2. Import-AzurePublishSettingsFile
Using Certificates
¡°Demo
again¡­¡±
¡°http://newdelhipowershell
usergroup.blogspot.in/2014
/02/part-2-azure-and-
powershell-connect-
to.html¡±
¡°More Demo . . . .¡±
$mySitesNames = "SalesGlobalLogic",
"ITGlobalLogic",
"InfoGlobalLogic"
foreach ( $siteName in $mySitesNames )
{
Write-Output "Creting website $siteName"
New-AzureWebsite -Location "East Asia" -Name $siteName
}
Creating multiple Sites
¡°More Demo . ¡­¡­¡­.
. .¡±
Get-AzureWebsite | Select Name,State | ConvertTo-Html -Body "<h1> Azure
Website reports </h1>" | Out-File E:TempAzureReport.html
Exporting website State
About me.
? PowerShell MVP
? Founder of ¡°New Delhi PowerShell
User Group¡±
? Technical Reviewer of ¡°Instant
Windows PowerShell Guide¡± book.
? Blogger
? Scripter
? Book Reviewer
? Event Speaker on PowerShell
www.amandhally.net
@amandhally
https://www.facebook.com/aman.dhally
http://NewDelhiPowershellUserGroup.blogspot.in
In the last¡­.always remember
´¡²Ô»å¡­¡­¡­¡­

More Related Content

Windows Powershell and Microsoft Azure : ¡°Global Windows Azure BootCamp 2014 ºÝºÝߣs