Tech Support Websites

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, 3 February 2013

Automate Azure tasks with Windows Azure PowerShell Cmdlets

Posted on 10:29 by Unknown

The ability to run Windows Azure tasks from the command-line and thus also automate such tasks was introduced with Windows Azure SDK 1.3.

Starting with Windows Azure SDK 1.8,  it is possible to manage Windows Azure Websites with the following cmdlets:

  • New-AzureWebSite
  • Get-AzureWebsite
  • Remove-AzureWebsite
  • Set-AzureWebsite
  • Show-AzureWebSite
  • Start-AzureWebSite
  • Stop-AzureWebSite

Here is the complete list of currently supported Windows Azure PowerShell cmdlets (via the PowerShell command get-command -module azure | format-table -property name ):

  1. Add-AzureCacheWorkerRole
  2. Add-AzureCertificate
  3. Add-AzureDataDisk
  4. Add-AzureDisk
  5. Add-AzureDjangoWebRole
  6. Add-AzureEndpoint
  7. Add-AzureNodeWebRole
  8. Add-AzureNodeWorkerRole
  9. Add-AzurePHPWebRole
  10. Add-AzurePHPWorkerRole
  11. Add-AzureProvisioningConfig
  12. Add-AzureVhd
  13. Add-AzureVMImage
  14. Disable-AzureServiceProjectRemoteDesktop
  15. Enable-AzureMemcacheRole
  16. Enable-AzureServiceProjectRemoteDesktop
  17. Export-AzureVM
  18. Get-AzureAffinityGroup
  19. Get-AzureCertificate
  20. Get-AzureDataDisk
  21. Get-AzureDeployment
  22. Get-AzureDisk
  23. Get-AzureDns
  24. Get-AzureEndpoint
  25. Get-AzureLocation
  26. Get-AzureOSDisk
  27. Get-AzureOSVersion
  28. Get-AzurePublishSettingsFile
  29. Get-AzureRemoteDesktopFile
  30. Get-AzureRole
  31. Get-AzureSBLocation
  32. Get-AzureSBNamespace
  33. Get-AzureService
  34. Get-AzureServiceProjectRoleRuntime
  35. Get-AzureSqlDatabase
  36. Get-AzureSqlDatabaseServer
  37. Get-AzureSqlDatabaseServerFirewallRule
  38. Get-AzureStorageAccount
  39. Get-AzureStorageKey
  40. Get-AzureSubnet
  41. Get-AzureSubscription
  42. Get-AzureVM
  43. Get-AzureVMImage
  44. Get-AzureVNetConfig
  45. Get-AzureVNetConnection
  46. Get-AzureVNetGateway
  47. Get-AzureVNetGatewayKey
  48. Get-AzureVNetSite
  49. Get-AzureWebsite
  50. Get-AzureWebsiteDeployment
  51. Get-AzureWebsiteLocation
  52. Import-AzurePublishSettingsFile
  53. Import-AzureVM
  54. Move-AzureDeployment
  55. New-AzureAffinityGroup
  56. New-AzureCertificateSetting
  57. New-AzureDeployment
  58. New-AzureDns
  59. New-AzureQuickVM
  60. New-AzureSBNamespace
  61. New-AzureService
  62. New-AzureServiceProject
  63. New-AzureSqlDatabase
  64. New-AzureSqlDatabaseServer
  65. New-AzureSqlDatabaseServerContext
  66. New-AzureSqlDatabaseServerFirewallRule
  67. New-AzureSSHKey
  68. New-AzureStorageAccount
  69. New-AzureStorageKey
  70. New-AzureVM
  71. New-AzureVMConfig
  72. New-AzureVNetGateway
  73. New-AzureWebsite
  74. Publish-AzureServiceProject
  75. Remove-AzureAffinityGroup
  76. Remove-AzureCertificate
  77. Remove-AzureDataDisk
  78. Remove-AzureDeployment
  79. Remove-AzureDisk
  80. Remove-AzureEndpoint
  81. Remove-AzureSBNamespace
  82. Remove-AzureService
  83. Remove-AzureSqlDatabase
  84. Remove-AzureSqlDatabaseServer
  85. Remove-AzureSqlDatabaseServerFirewallRule
  86. Remove-AzureStorageAccount
  87. Remove-AzureSubscription
  88. Remove-AzureVM
  89. Remove-AzureVMImage
  90. Remove-AzureVNetConfig
  91. Remove-AzureVNetGateway
  92. Remove-AzureWebsite
  93. Reset-AzureRoleInstance
  94. Restart-AzureVM
  95. Restart-AzureWebsite
  96. Restore-AzureWebsiteDeployment
  97. Save-AzureVMImage
  98. Save-AzureWebsiteLog
  99. Select-AzureSubscription
  100. Set-AzureAffinityGroup
  101. Set-AzureDataDisk
  102. Set-AzureDeployment
  103. Set-AzureEndpoint
  104. Set-AzureOSDisk
  105. Set-AzureRole
  106. Set-AzureService
  107. Set-AzureServiceProject
  108. Set-AzureServiceProjectRole
  109. Set-AzureSqlDatabase
  110. Set-AzureSqlDatabaseServer
  111. Set-AzureSqlDatabaseServerFirewallRule
  112. Set-AzureStorageAccount
  113. Set-AzureSubnet
  114. Set-AzureSubscription
  115. Set-AzureVMSize
  116. Set-AzureVNetConfig
  117. Set-AzureVNetGateway
  118. Set-AzureWalkUpgradeDomain
  119. Set-AzureWebsite
  120. Show-AzurePortal
  121. Show-AzureWebsite
  122. Start-AzureEmulator
  123. Start-AzureService
  124. Start-AzureVM
  125. Start-AzureWebsite
  126. Stop-AzureEmulator
  127. Stop-AzureService
  128. Stop-AzureVM
  129. Stop-AzureWebsite
  130. Test-AzureName
  131. Update-AzureDisk
  132. Update-AzureVM
  133. Update-AzureVMImage
Not all of these cmdlets are covered currently in the Windows Azure Cmdlet Reference.

Related: Pluralsight Introduction to PowerShell Course - Notes


Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in Azure, PowerShell | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Windows 8 keyboard shortcuts
    Win + X   - context menu to access common features like Control Panel, Task Manager, File Explorer, Programs & Features, Run, Search etc...
  • Dashboard-like info with Browser tabs, Windows 7 Taskbar tabs
    Browser tabs & Windows 7 Taskbar tabs are turning self-aware.  This is how my browser looked the other day: I had the summary of all tha...
  • The State Of HTML5 Video
    Key points from the  The State Of HTML5 Video  report by LongTailVideo (last updated on April 19, 2012): 75% of the desktop & mobile bro...
  • Archive tweets & favorites with Google Reader
    There are numerous ways to archive tweets but rather than use yet another tool, I prefer using Google Reader to preserve the tweets I mark ...
  • TWIL - Week #3
    This Week I Learned: New Azure VM Image Templates include SQL Server, BizTalk Server, and SharePoint Server (2013?) images . This can be han...
  • What is the difference between Browser Mode & Document Mode in IE
    If you're a web developer and your job actively involves building web pages that work the same in all browsers including the last three ...
  • My 30-day personal project - watch 100 hours of Pluralsight videos
    Inspired by Matt Cutts' 30-day challenges , I plan to watch 100 hours of Pluralsight online videos to get up-to-date with current ...
  • Azure in Pictures - overview of Windows Azure Features, Services and Common Uses
    Download the Windows Azure Poster in PDF format (1.1MB)
  • Indian comparison shopping sites
    Did you know, India has 120 million Internet users & the Indian e-commerce market is worth $7 billion ?  Travel accounts for over 80 per...
  • HOW TO dynamically generate a Word document with custom header & footer
    Way back in 2004, a project I was working on required a web page to be exported as a Word document (.DOC). Without relying on any components...

Categories

  • AJAX
  • Android
  • APIs
  • App
  • ASP
  • ASP.NET
  • ASP.NET-MVC
  • Azure
  • Azure SQL Database
  • AzureInPictures
  • Bing
  • Book Review
  • Bookmarklet
  • Browsers
  • C#
  • chart
  • Chrome
  • Cloud
  • CSS
  • CSS3
  • DidYouKnow
  • E-Commerce
  • Excel
  • FB
  • Fiddler
  • Firefox
  • Gadgets
  • GeoLocation
  • GMail
  • Google
  • Google Docs
  • Google Reader
  • Health
  • Hotmail
  • HOWTO
  • HTML
  • HTML/CSS
  • HTML5
  • Humor
  • Hyderabad
  • IE
  • IIS
  • India
  • Internet
  • IT
  • Javascript
  • jQuery
  • JSON
  • JSONP
  • Laptop
  • Learning Resources
  • Lists
  • Map
  • Metrics
  • Microsoft
  • miscellaneous
  • Mobile
  • NAPA
  • Office365
  • Opera
  • PDF
  • Performance
  • Personal
  • PHP
  • PM
  • PowerShell
  • Privacy
  • Programming
  • Rant
  • Safari
  • Science
  • Search Engines
  • SearchEngines
  • Security
  • SEO
  • Sharepoint
  • SharePoint2013
  • Silverlight
  • Software Engineering
  • Solutions
  • SQL Azure
  • SQL Server
  • TFS
  • Tip
  • Tips
  • Tools
  • Tools/Utilities
  • Trivia
  • TWIL
  • Twitter
  • UX
  • VM
  • VS.NET
  • VS2010
  • VS2012
  • WCF
  • WebApps
  • Websites
  • WF
  • Windows Phone
  • Windows7
  • Windows8
  • Word
  • WP7
  • WPF

Blog Archive

  • ▼  2013 (112)
    • ►  October (16)
    • ►  September (14)
    • ►  August (8)
    • ►  July (8)
    • ►  June (13)
    • ►  May (12)
    • ►  April (12)
    • ►  March (8)
    • ▼  February (15)
      • Firebug simplifies programming with JSON
      • HOW TO batch Geocode a set of addresses
      • SharePoint 2013 NAPA Keyboard Shortcuts
      • Voice Fingerprinting
      • HOW TO handle a API's JSONP response that uses a s...
      • Tweetcheero
      • Fix for "The page at https://*.sharepoint.com/* ra...
      • "Missed call" from a mobile as an event trigger
      • Carefully review apps that provide Facebook Login
      • A "secure" website is only as secure as the third-...
      • Counter arguments to excuses of the Cloud Skeptics
      • Where is the .NET 4.5 folder?
      • Azure in Pictures - The Life of a Windows Azure Cl...
      • Automate Azure tasks with Windows Azure PowerShell...
      • Book Review: Fall of the Sparrow
    • ►  January (6)
  • ►  2012 (127)
    • ►  December (11)
    • ►  November (14)
    • ►  October (13)
    • ►  September (14)
    • ►  August (16)
    • ►  July (16)
    • ►  June (6)
    • ►  May (5)
    • ►  April (11)
    • ►  March (12)
    • ►  February (7)
    • ►  January (2)
  • ►  2011 (98)
    • ►  December (5)
    • ►  November (2)
    • ►  October (5)
    • ►  September (7)
    • ►  August (7)
    • ►  July (15)
    • ►  June (10)
    • ►  May (7)
    • ►  April (8)
    • ►  March (10)
    • ►  February (11)
    • ►  January (11)
  • ►  2010 (163)
    • ►  December (14)
    • ►  November (19)
    • ►  October (19)
    • ►  September (15)
    • ►  August (18)
    • ►  July (17)
    • ►  June (20)
    • ►  May (17)
    • ►  April (19)
    • ►  March (5)
Powered by Blogger.

About Me

Unknown
View my complete profile