Microsoft.WindowsAzure.Commands.Storage.Table.Cmdlet

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This topic describes the cmdlets in the 0.8.0 version of the Azure module. To find out the version of the module you're using, in Windows PowerShell, type (Get-Module Azure).Version.

Azure is the Windows PowerShell module that you can use to control and automate the deployment and management of your workloads in Azure. Before you can start using the cmdlets, you'll need to download and install the module and establish a connection to your Azure account. For instructions, see How to install and configure Windows Azure PowerShell. To download the module, see the Downloads page.

Beginning in version 0.8.0, the Azure PowerShell installation includes three modules: Azure, AzureResourceManager (for creating and managing resource groups), and AzureProfile, a module of commands common to both of the other modules. The Azure and AzureResourceManager modules are not designed to be used in the same Windows PowerShell session. For more information about the AzureResourceManager module, see Azure Resource Manager Cmdlets and Using PowerShell with Resource Manager

Cmdlets are also available for Azure Active Directory and are distributed through a separate module. For more information, see Manage Windows Azure Active Directory by using Windows PowerShell.

This cmdlet reference provides descriptions and syntax for cmdlets available in Azure PowerShell, except for Azure SQL Database cmdlets. For reference for those cmdlets, see Microsoft.WindowsAzure.Management.SqlDatabase.Database.Cmdlet.

Managing Subscriptions

Name Description

Get-AzurePublishSettingsFile

Downloads the publish-settings file for an Azure subscription.

Get-AzureSubscription

Gets information about an Azure subscription from a subscription data file saved in the user’s profile.

Import-AzurePublishSettingsFile

Imports Azure subscription data from a .publishsettings file downloaded from the management portal.

Remove-AzureSubscription

Removes the settings for an Azure subscription from the subscription data file.

Select-AzureSubscription

Selects the current Azure subscription.

Set-AzureSubscription

Configures and stores common Azure subscription settings.

Managing Storage Accounts

Name Description

Add-AzureVhd

Uploads a virtual hard disk (in .vhd file format) from an on-premises virtual machine to a blob in a cloud storage account in Azure.

Get-AzureStorageAccount

Gets the storage account objects for the current subscription.

Get-AzureStorageKey

Returns the primary and secondary storage account keys for an Azure storage account.

New-AzureStorageAccount

Creates a new storage account in a subscription.

New-AzureStorageKey

Regenerates storage keys for an Azure storage account.

Remove-AzureStorageAccount

Deletes the specified storage account from a subscription.

Set-AzureStorageAccount

Updates the label and the description for a storage account in a subscription.

Managing Storage Blobs, Tables, and Queues

Name Description

Get-AzureStorageBlob

Lists the blobs in a container.

Get-AzureStorageBlobContent

Downloads a storage blob.

Get-AzureStorageBlobCopyState

Gets the copy state of a specified storage blob.

Get-AzureStorageContainer

Lists the storage containers.

Get-AzureStorageQueue

Lists the storage queues.

Get-AzureStorageTable

Lists the storage tables.

New-AzureStorageContainer

Creates a storage container.

New-AzureStorageContext

Creates a storage context using storage credentials.

New-AzureStorageQueue

Create a storage queue.

New-AzureStorageTable

Creates storage tables.

Remove-AzureStorageBlob

Removes the specified storage blob.

Remove-AzureStorageContainer

Removes the specified storage container.

Remove-AzureStorageQueue

Remove the specified storage queues.

Remove-AzureStorageTable

Removes storage tables.

Set-AzureStorageBlobContent

Uploads a local file.

Set-AzureStorageContainerAcl

Sets the public access permission to a storage container.

Start-AzureStorageBlobCopy

Starts a copy operation to a blob.

Stop-AzureStorageBlobCopy

Stops a copy operation.

Deploying and Managing Virtual Machines

Name Description

Add-AzureDataDisk

Adds a new data disk to a Azure virtual machine object.

Add-AzureDisk

Adds a new disk to the Azure disk repository.

Add-AzureEndpoint

Adds a new endpoint to a Azure virtual machine.

Add-AzureProvisioningConfig

Adds the provisioning configuration to a Azure virtual machine.

Add-AzureVMImage

Adds a new operating system image to the image repository.

Export-AzureVM

Exports a Azure virtual machine state to a file.

Get-AzureDataDisk

Gets the data disk object at the specified LUN on the specified Azure virtual machine.

Get-AzureDisk

Gets an object with information on disks in the Azure disk repository.

Get-AzureEndpoint

Gets an object with information about the endpoints assigned to a Azure virtual machine.

Get-AzureOSDisk

Gets the operating system disk object for the specified virtual machine object.

Get-AzureVM

Retrieves information from one or more Azure virtual machines.

Get-AzureVMImage

Returns an operating system image object.

Import-AzureVM

Imports a Azure virtual machine state from a file.

New-AzureCertificateSetting

Creates a setting object to insert an existing certificate into new Azure virtual machines.

New-AzureQuickVM

Creates and provisions a new Azure virtual machine.

New-AzureSSHKey

Creates a SSH Key object to insert an existing certificate into new Linux-based Azure virtual machines.

New-AzureVM

Creates a new Azure virtual machine.

New-AzureVMConfig

Creates a new Azure virtual machine configuration object.

Remove-AzureDataDisk

Removes a data disk from a virtual machine object.

Remove-AzureDisk

Removes a disk from the Azure disk repository.

Remove-AzureEndpoint

Deletes an endpoint from a Azure virtual machine object.

Remove-AzureVM

Removes a virtual machine.

Remove-AzureVMImage

Removes an operating system image from the Image Repository.

Restart-AzureVM

Restarts a Azure virtual machine.

Set-AzureDataDisk

Sets the host-cache mode on an existing data disk object.

Set-AzureEndpoint

Updates an existing endpoint assigned to a Azure virtual machine.

Set-AzureOSDisk

Updates the host-cache mode of a Azure virtual machine operating system disk.

Save-AzureVMImage

Captures and saves the image of a running Azure virtual machine.

Set-AzureVMSize

Updates the role size from a virtual machine object.

Start-AzureVM

Starts a Azure virtual machine.

Stop-AzureVM

Shuts down a Azure virtual machine.

Update-AzureDisk

Updates the label of a disk in the Azure disk repository.

Update-AzureVM

Updates a Azure virtual machine with the modifications made to the virtual machine object.

Update-AzureVMImage

Updates the label of an operating system image in the image repository.

Managing Virtual Networks

Name Description

Get-AzureDns

Gets an object with the DNS settings for the Azure deployment.

Get-AzureSubnet

Gets a list of subnets associated with the specified Azure virtual machine.

Get-AzureVNetConfig

Gets the Azure virtual network configuration from the current subscription.

Get-AzureVNetConnection

Returns an object with all of the virtual network connections to the specified Azure virtual network.

Get-AzureVNetGateway

Retrieves an object with information about a Azure virtual network gateway.

Get-AzureVNetGatewayKey

Returns a shared key that can be used to configure a VPN device.

Get-AzureVNetSite

Returns an object describing Azure virtual networks.

New-AzureDns

Creates a DNS settings object to be used when creating a Azure virtual machine.

New-AzureVNetGateway

Creates a new Azure Virtual Network Gateway to the specified Azure virtual network.

Remove-AzureVNetConfig

Deletes the network configuration from the current Azure subscription.

Remove-AzureVNetGateway

Removes the Azure virtual network gateway to the specified virtual network.

Set-AzureSubnet

Defines the subnet list for a Azure virtual machine.

Set-AzureVNetConfig

Updates the virtual network settings for a Azure cloud service.

Set-AzureVNetGateway

Enables or disables a Azure Virtual Network Gateway.

Managing Network ACLs to Endpoints

Name Description

Get-AzureAclConfig

Gets a configuration object for an access control list (ACL).

New-AzureAclConfig

Creates a new, empty configuration object for an access control list (ACL).

Remove-AzureAclConfig

Creates a configuration object for an access control list (ACL).

Set-AzureAclConfig

Sets the configuration object for an access control list (ACL).

Deploying and Managing Cloud Services

Name Description

Add-AzureCacheWorkerRole

Adds a dedicated cache worker role to the current service.

Add-AzureCertificate

Uploads a service certificate for the specified cloud service.

Add-AzureDjangoWebRole

Creates the required files and configuration (sometimes referred to as scaffolding) for a Python Django application.

Add-AzureNodeWebRole

Creates required files and folders for a Node.js application.

Add-AzurePHPWebRole

Creates the required files and configuration (sometimes referred to as scaffolding) for a PHP application.

Add-AzureWebRole

Adds a web role.

Add-AzureNodeWorkerRole

Creates the required files and folders for a Node.js application to be hosted in the cloud via node.exe

Add-AzurePHPWorkerRole

Creates the required files and configuration (sometimes referred to as scaffolding) for a PHP application that will be hosted in Azure through php.exe.

Add-AzureWorkerRole

Creates required files and configuration (sometimes referred to as scaffolding) for a custom worker role.

Disable-AzureServiceProjectRemoteDesktop

Disables remote desktop access to a cloud service.

Enable-AzureMemcacheRole

Enable memcached for the specified web role, configured to communicate with the specified dedicated cache role.

Enable-AzureServiceProjectRemoteDesktop

Enables remote desktop access to a cloud service.

Get-AzureAffinityGroup

Returns an object that represents a Azure affinity group.

Get-AzureCertificate

Gets a certificate object from the specified Azure service.

Get-AzureDeployment

Gets details of a specified deployment.

Get-AzureOSVersion

Lists the versions of the guest operating system that are currently available in Azure.

Get-AzureRemoteDesktopFile

Gets a remote desktop connection file (.RDP) for the specified Azure virtual machine.

Get-AzureRole

Returns a list of roles in your Azure service.

Get-AzureService

Returns an object with information about the cloud services for the current subscription.

Get-AzureServiceProjectRoleRuntime

Get the runtimes available to install in a role.

Move-AzureDeployment

Swaps the deployments in production and staging.

New-AzureAffinityGroup

Creates a new affinity group for the current Azure subscription.

New-AzureDeployment

Creates a new deployment from a service comprising web roles and worker roles.

New-AzureRoleTemplate

Creates web and worker role templates.

New-AzureService

Creates a new Azure service.

New-AzureServiceProject

Creates the required files and configuration (sometimes referred to as scaffolding) for a new service.

Publish-AzureServiceProject

Publish the current service to Azure.

Remove-AzureAffinityGroup

Deletes an affinity group in the specified subscription.

Remove-AzureCertificate

Deletes the specified certificate from the Azure service.

Remove-AzureDeployment

Deletes the specified deployment of a Azure cloud service.

Remove-AzureService

Deletes the specified service from Azure.

Reset-AzureRoleInstance

Requests a reboot or reimage of a single role instance or all role instances of a specific role.

Save-AzureServiceProjectPackage

Packages the service project into Azure cloud package (*.cspkg).

Set-AzureAffinityGroup

Updates the properties of a Azure affinity group.

Set-AzureDeployment

Sets status, upgrade mode, and configuration settings of a Azure deployment.

Set-AzureRole

Sets the number of instances of a Azure role to run.

Set-AzureService

Sets or updates the label and description of the specified Azure service.

Set-AzureServiceProject

Sets the default location, subscription, slot, and storage account for the current service.

Set-AzureServiceProjectRole

Sets the number of instances or the runtime version of a role.

Set-AzureWalkUpgradeDomain

Walks the specified upgrade domain.

Start-AzureEmulator

Starts the compute and storage emulators.

Start-AzureService

Starts the specified hosted service in Azure.

Stop-AzureEmulator

Stops the compute emulator.

Stop-AzureService

Stops the current hosted service.

Test-AzureName

Tests whether a Azure service or storage name is already in use.

Deploying and Managing HDInsight Clusters

Name Description

Add-AzureHDInsightConfigValues

Adds a Hadoop configuration value customization and/or a Hive shared library customization to the Azure HDInsight cluster configuration.

Add-AzureHDInsightMetastore

Adds a SQL Database account to the Azure HDInsight cluster configuration.

Add-AzureHDInsightStorage

Adds a Azure Blob Storage account entry to a target HDInsight configuration.

Get-AzureHDInsightCluster

Retrieves and lists all of the Azure HDInsight clusters associated with the current subscription or retrieves a specific named cluster.

Get-AzureHDInsightJob

Retrieves the Azure HDInsight jobs from a cluster and lists them in reverse chronological order.

Get-AzureHDInsightJobOutput

Retrieves the log output for a job from the storage account associated with a specified cluster.Adds a web role.

Get-AzureHDInsightProperties

Retrieves properties specific to a Azure HDInsight service.

Grant-AzureHDInsightHttpServicesAccess

Grants HTTP access to the cluster.

Invoke-AzureHDInsightHiveJob

Submits Hive queries to the HDInsight cluster, shows progress of the query execution, and retrieves query results in one operation.

New-AzureHDInsightCluster

Creates a new Azure HDInsight cluster for the current subscription.

New-AzureHDInsightClusterConfig

Creates a non-persisted configuration that describes a Azure HDInsight cluster configuration.

New-AzureHDInsightHiveJobDefinition

Defines a hive job for an Azure HDInsight service.

New-AzureHDInsightMapReduceJobDefinition

Defines a new Map Reduce job.

New-AzureHDInsightPigJobDefinition

Defines a new pig job for an Azure HDInsight service.

New-AzureHDInsightSqoopJobDefinition

Defines a new Sqoop job.

New-AzureHDInsightStreamingMapReduceJobDefinition

Defines a new streaming Map Reduce job.

Remove-AzureHDInsightCluster

Deletes the specified HDInsight cluster from your Azure subscription.

Revoke-AzureHDInsightHttpServicesAccess

Disables HTTP access to the cluster.

Set-AzureHDInsightDefaultStorage

Sets default storage account setting in the HDInsight cluster configuration object.

Start-AzureHDInsightJob

Starts an Azure HDInsight job on a specified cluster.

Stop-AzureHDInsightJob

Stops running an Azure HDInsight job on a specified cluster.

Use-AzureHDInsightCluster

Selects Azure HDInsight cluster that will be used by the Invoke-Hive cmdlet for job submission.

Wait-AzureHDInsightJob

Awaits the completion or failure of the HDInsight job and shows its progress.

Deploying and Managing Websites

Name Description

Get-AzureWebsite

Gets information about websites in Azure associated with the current subscription.

Get-AzureWebsiteDeployment

Gets the deployments for a website in Azure.

Get-AzureWebsiteLocation

Gets all available website locations.

New-AzureWebsite

Create a new website to run in Azure.

Remove-AzureWebsite

Removes the specified website from Azure.

Restart-AzureWebsite

Stops and then restarts the specified website.

Restore-AzureWebsiteDeployment

Redeploys a previous deployment of a website in Azure.

Save-AzureWebsiteLog

Downloads and saves the logs for a specified website.

Set-AzureWebsite

Configures a website running in Azure.

Show-AzurePortal

Show the Azure Management Portal.

Show-AzureWebsite

Opens a browser on a specified website.

Start-AzureWebsite

Starts the specified website.

Stop-AzureWebsite

Stops the specified website.

Managing Service Bus

Name Description

Get-AzureSBLocation

Gets the location of the Service Bus.

Get-AzureSBNamespace

Gets the namespace.

New-AzureSBNamespace

Creates a service namespace.

Remove-AzureSBNamespace

Removes a service namespace