Automate Azure tasks with Windows Azure PowerShell Cmdlets
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 ):
- Add-AzureCacheWorkerRole
- Add-AzureCertificate
- Add-AzureDataDisk
- Add-AzureDisk
- Add-AzureDjangoWebRole
- Add-AzureEndpoint
- Add-AzureNodeWebRole
- Add-AzureNodeWorkerRole
- Add-AzurePHPWebRole
- Add-AzurePHPWorkerRole
- Add-AzureProvisioningConfig
- Add-AzureVhd
- Add-AzureVMImage
- Disable-AzureServiceProjectRemoteDesktop
- Enable-AzureMemcacheRole
- Enable-AzureServiceProjectRemoteDesktop
- Export-AzureVM
- Get-AzureAffinityGroup
- Get-AzureCertificate
- Get-AzureDataDisk
- Get-AzureDeployment
- Get-AzureDisk
- Get-AzureDns
- Get-AzureEndpoint
- Get-AzureLocation
- Get-AzureOSDisk
- Get-AzureOSVersion
- Get-AzurePublishSettingsFile
- Get-AzureRemoteDesktopFile
- Get-AzureRole
- Get-AzureSBLocation
- Get-AzureSBNamespace
- Get-AzureService
- Get-AzureServiceProjectRoleRuntime
- Get-AzureSqlDatabase
- Get-AzureSqlDatabaseServer
- Get-AzureSqlDatabaseServerFirewallRule
- Get-AzureStorageAccount
- Get-AzureStorageKey
- Get-AzureSubnet
- Get-AzureSubscription
- Get-AzureVM
- Get-AzureVMImage
- Get-AzureVNetConfig
- Get-AzureVNetConnection
- Get-AzureVNetGateway
- Get-AzureVNetGatewayKey
- Get-AzureVNetSite
- Get-AzureWebsite
- Get-AzureWebsiteDeployment
- Get-AzureWebsiteLocation
- Import-AzurePublishSettingsFile
- Import-AzureVM
- Move-AzureDeployment
- New-AzureAffinityGroup
- New-AzureCertificateSetting
- New-AzureDeployment
- New-AzureDns
- New-AzureQuickVM
- New-AzureSBNamespace
- New-AzureService
- New-AzureServiceProject
- New-AzureSqlDatabase
- New-AzureSqlDatabaseServer
- New-AzureSqlDatabaseServerContext
- New-AzureSqlDatabaseServerFirewallRule
- New-AzureSSHKey
- New-AzureStorageAccount
- New-AzureStorageKey
- New-AzureVM
- New-AzureVMConfig
- New-AzureVNetGateway
- New-AzureWebsite
- Publish-AzureServiceProject
- Remove-AzureAffinityGroup
- Remove-AzureCertificate
- Remove-AzureDataDisk
- Remove-AzureDeployment
- Remove-AzureDisk
- Remove-AzureEndpoint
- Remove-AzureSBNamespace
- Remove-AzureService
- Remove-AzureSqlDatabase
- Remove-AzureSqlDatabaseServer
- Remove-AzureSqlDatabaseServerFirewallRule
- Remove-AzureStorageAccount
- Remove-AzureSubscription
- Remove-AzureVM
- Remove-AzureVMImage
- Remove-AzureVNetConfig
- Remove-AzureVNetGateway
- Remove-AzureWebsite
- Reset-AzureRoleInstance
- Restart-AzureVM
- Restart-AzureWebsite
- Restore-AzureWebsiteDeployment
- Save-AzureVMImage
- Save-AzureWebsiteLog
- Select-AzureSubscription
- Set-AzureAffinityGroup
- Set-AzureDataDisk
- Set-AzureDeployment
- Set-AzureEndpoint
- Set-AzureOSDisk
- Set-AzureRole
- Set-AzureService
- Set-AzureServiceProject
- Set-AzureServiceProjectRole
- Set-AzureSqlDatabase
- Set-AzureSqlDatabaseServer
- Set-AzureSqlDatabaseServerFirewallRule
- Set-AzureStorageAccount
- Set-AzureSubnet
- Set-AzureSubscription
- Set-AzureVMSize
- Set-AzureVNetConfig
- Set-AzureVNetGateway
- Set-AzureWalkUpgradeDomain
- Set-AzureWebsite
- Show-AzurePortal
- Show-AzureWebsite
- Start-AzureEmulator
- Start-AzureService
- Start-AzureVM
- Start-AzureWebsite
- Stop-AzureEmulator
- Stop-AzureService
- Stop-AzureVM
- Stop-AzureWebsite
- Test-AzureName
- Update-AzureDisk
- Update-AzureVM
- Update-AzureVMImage
Not all of these cmdlets are covered currently in the Windows Azure Cmdlet Reference.
Comments
Post a Comment