Edit

Get-BillingPolicy

This cmdlet is available only in the cloud-based service.

Use the Get-BillingPolicy cmdlet to return detailed information about Microsoft 365 pay-as-you-go billing policies for High Volume Email configured for your organization.

For information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax.

Syntax

Default (Default)

Get-BillingPolicy
    [-ResourceType] <System.String>
    [<CommonParameters>]

Description

Billing policies define the Microsoft Azure subscription and related billing metadata used by Microsoft services. For more information, see Microsoft 365 pay-as-you-go services.

You need to be assigned permissions before you can run this cmdlet. Although this article lists all parameters for the cmdlet, you might not have access to some parameters if they aren't included in the permissions assigned to you. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.

Examples

Example 1

Get-BillingPolicy -ResourceType HVE

This example returns all billing policies in the organization that can be used with High Volume Email.

Parameters

-ResourceType

Applicable: Exchange Online, Built-in security add-on for on-premises mailboxes

The ResourceType parameter specifies the type of billing policies to retrieve. Currently, the only supported value is HVE.

Parameter properties

Type:System.String
Default value:None
Accepted values:HVE
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:0
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.