Upload
aman-dhally
View
600
Download
2
Embed Size (px)
DESCRIPTION
I have presented this Presentation on "Global Windows Azure Bootcamp 2014". In these slides i have mentioned on how to connec to Microsoft Azure using PowerShell. I hope you will find it useful. Regards Aman
Citation preview
“Global Windows Azure BootCamp 2014”
“How to connect to Windows Azure using PowerShell”
http://bit.ly/1g6fBCC
Please note !
“Intro : Windows Azure”
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 friendly2. Improved TCO3. Increased Stability4. As Service
1. Software as Service2. Platform as Service
5. Datacentre in the Cloud
Single Place for.
1. Hosting Websites2. Virtual Machines3. Mobile Services4. Media5. SQL Database6. BIG Data7. Visual Studio Online8. 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.06. Task based Command Line Shell and Scripting Language.7. Based on .NET framework.8. Syntax: verb-noun9. 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”
Installing…
I Accept..
Installing…
Finish..
Yayyy!!!
“Connect to Windows Azure”
1. Active Directory Authentication1. Expire after 12 Hours
2. Certificate Authentication1. 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
“Demo”
“http://newdelhipowershellusergroup.blogspot.in/2014/02/part-2-azure-and-powershell-
connect-to.html”
1. Get-AzurePublishSettingsFile 2. Import-AzurePublishSettingsFile
Using Certificates
“Demo again…”
“http://newdelhipowershellusergroup.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:\Temp\AzureReport.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
And…………