Get-AzureAccount

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

Get-AzureAccount

Gets all of the accounts for Windows Azure that are available to Windows Azure PowerShell.

Syntax

Parameter Set: Default
Get-AzureAccount [[-Name] <String> ] [-SubscriptionDataFile <String> ] [ <CommonParameters>]

Detailed Description

This topic describes the cmdlet in the .7.2 version of the Microsoft Azure PowerShell module. To find out the version of the module you're using, from the Azure PowerShell console, type (get-module azure).version.

Parameters

-Name<String>

Specifies the name of an account.

Aliases

none

Required?

false

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-SubscriptionDataFile<String>

Specifies the path and filename of the subscription data file. This parameter is optional. If it is provided, the subscription data is read from a default subscription data file in the user's profile.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see  about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example

This example gets a specific account.

PS C:\> Get-AzureAccount -Name myaccount@somesite.example

Add-AzureAccount

Remove-AzureAccount