|
| 1 | +--- |
| 2 | +applicable: Exchange Online, Built-in security add-on for on-premises mailboxes |
| 3 | +external help file: |
| 4 | +Locale: en-US |
| 5 | +Module Name: ExchangePowerShell |
| 6 | +online version: https://learn.microsoft.com/powershell/module/exchangepowershell/set-hveaccountbillingpolicy |
| 7 | +schema: 2.0.0 |
| 8 | +title: Set-HVEAccountBillingPolicy |
| 9 | +--- |
| 10 | + |
| 11 | +# Set-HVEAccountBillingPolicy |
| 12 | + |
| 13 | +## SYNOPSIS |
| 14 | +This cmdlet is available only in the cloud-based service. |
| 15 | + |
| 16 | +Use the Set-HVEAccountBillingPolicy cmdlet to modify the billing policy mapping for a specified High Volume Email (HVE) account. |
| 17 | + |
| 18 | +For information about the parameter sets in the Syntax section below, see [Exchange cmdlet syntax](https://learn.microsoft.com/powershell/exchange/exchange-cmdlet-syntax). |
| 19 | +## SYNTAX |
| 20 | + |
| 21 | +``` |
| 22 | +Set-HVEAccountBillingPolicy [-Identity] <MailUserIdParameter> -BillingPolicyId <String> |
| 23 | + [-Confirm] |
| 24 | + [-WhatIf] |
| 25 | + [<CommonParameters>] |
| 26 | +``` |
| 27 | + |
| 28 | +## DESCRIPTION |
| 29 | +An HVE account is a special type of mail user (also known as a mail-enabled user) used to send large amounts of email. For more information, see [High Volume Email](https://learn.microsoft.com/exchange/mail-flow-best-practices/high-volume-mails-m365). |
| 30 | + |
| 31 | +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](https://learn.microsoft.com/powershell/exchange/find-exchange-cmdlet-permissions). |
| 32 | + |
| 33 | +## EXAMPLES |
| 34 | + |
| 35 | +### Example 1 |
| 36 | +```powershell |
| 37 | +Set-HVEAccountBillingPolicy -Identity " HVEAccount01@tailspintoys.com" -BillingPolicyId "11111111-1111-1111-1111-111111111111" |
| 38 | +``` |
| 39 | + |
| 40 | +This example assigns the specified billing policy to the specified HVE account. |
| 41 | + |
| 42 | +### Example 2 |
| 43 | +```powershell |
| 44 | +Set-HVEAccountBillingPolicy -Identity " HVEAccount01@tailspintoys.com" -BillingPolicyId "" |
| 45 | +``` |
| 46 | + |
| 47 | +This example removes the billing policy mapping from the specified HVE account. |
| 48 | + |
| 49 | +## PARAMETERS |
| 50 | + |
| 51 | +### -Identity |
| 52 | + |
| 53 | +> Applicable: Exchange Online, Built-in security add-on for on-premises mailboxes |
| 54 | +
|
| 55 | +The Identity parameter specifies the email address of the HVE account you want to modify. |
| 56 | + |
| 57 | +```yaml |
| 58 | +Type: MailUserIdParameter |
| 59 | +Parameter Sets: (All) |
| 60 | +Aliases: |
| 61 | + |
| 62 | +Required: True |
| 63 | +Position: 0 |
| 64 | +Default value: None |
| 65 | +Accept pipeline input: True (ByPropertyName, ByValue) |
| 66 | +Accept wildcard characters: False |
| 67 | +``` |
| 68 | +
|
| 69 | +### -BillingPolicyId |
| 70 | +
|
| 71 | +> Applicable: Exchange Online, Built-in security add-on for on-premises mailboxes |
| 72 | +
|
| 73 | +The BillingPolicyId parameter specified the GUID of the billing policy to assign to the HVE account. |
| 74 | +
|
| 75 | +To view the available billing policies, run the following command: `Get-BillingPolicy -ResourceType HVE`. |
| 76 | + |
| 77 | +To remove a previously assigned billing policy, use the value `""`. |
| 78 | + |
| 79 | +```yaml |
| 80 | +Type: String |
| 81 | +Parameter Sets: (All) |
| 82 | +Aliases: |
| 83 | +
|
| 84 | +Required: True |
| 85 | +Position: Named |
| 86 | +Default value: None |
| 87 | +Accept pipeline input: False |
| 88 | +Accept wildcard characters: False |
| 89 | +``` |
| 90 | + |
| 91 | +### -Confirm |
| 92 | + |
| 93 | +> Applicable: Exchange Online, Built-in security add-on for on-premises mailboxes |
| 94 | + |
| 95 | +This parameter is reserved for internal Microsoft use. |
| 96 | + |
| 97 | +```yaml |
| 98 | +Type: SwitchParameter |
| 99 | +Parameter Sets: (All) |
| 100 | +Aliases: cf |
| 101 | +
|
| 102 | +Required: False |
| 103 | +Position: Named |
| 104 | +Default value: None |
| 105 | +Accept pipeline input: False |
| 106 | +Accept wildcard characters: False |
| 107 | +``` |
| 108 | + |
| 109 | +### -WhatIf |
| 110 | + |
| 111 | +> Applicable: Exchange Online, Built-in security add-on for on-premises mailboxes |
| 112 | + |
| 113 | +This parameter is reserved for internal Microsoft use. |
| 114 | + |
| 115 | +```yaml |
| 116 | +Type: SwitchParameter |
| 117 | +Parameter Sets: (All) |
| 118 | +Aliases: wi |
| 119 | +
|
| 120 | +Required: False |
| 121 | +Position: Named |
| 122 | +Default value: None |
| 123 | +Accept pipeline input: False |
| 124 | +Accept wildcard characters: False |
| 125 | +``` |
| 126 | + |
| 127 | +### CommonParameters |
| 128 | +This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/p/?LinkID=113216). |
| 129 | + |
| 130 | +## INPUTS |
| 131 | + |
| 132 | +## OUTPUTS |
| 133 | + |
| 134 | +## NOTES |
| 135 | + |
| 136 | +## RELATED LINKS |
0 commit comments