Get-​Azure​Rm​Billing​Period

Get billing periods of the subscription.

Syntax

Get-AzureRmBillingPeriod
   [-MaxCount <Int32>]
   [<CommonParameters>]
Get-AzureRmBillingPeriod
   -Name <System.Collections.Generic.List`1[System.String]>
   [<CommonParameters>]

Description

The Get-AzureRmBillingPeriod cmdlet gets billing periods of the subscription.

Examples

Example 1

PS C:\> Get-AzureRmBillingPeriod

Get all available billing periods of the subscription.

Example 2

PS C:\> Get-AzureRmBillingPeriod -Name 201704-1

Get the billing period of the subscription with the specified name.

Example 3

PS C:\> Get-AzureRmBillingPeriod -MaxCount 2

Get at most 2 billing periods of the subscription.

Required Parameters

-Name

Name of a specific billing period to get.

Type:System.Collections.Generic.List`1[System.String]
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-MaxCount

Determine the maximum number of records to return.

Type:Int32
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Collections.Generic.List`1[[Microsoft.Azure.Commands.Billing.Models.PSBillingPeriod, Microsoft.Azure.Commands.Billing, Version=0.12.0.0, Culture=neutral, PublicKeyToken=null]]

Microsoft.Azure.Commands.Billing.Models.PSBillingPeriod