Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Latest commit

 

History

History
83 lines (56 loc) · 2.09 KB

Set-PCCustomerBillingProfile.md

File metadata and controls

83 lines (56 loc) · 2.09 KB

Set-PCCustomerBillingProfile

Updates the specified customer's billing profile. The cmdlet accepts an updated billing profile object to determine the updates to be made. Use either Get-PCCustomerBillingProfile or New-PCCustomerBillingProfile cmdlet to create the updated customer billing profile object.

SYNTAX

Set-PCCustomerBillingProfile [[-TenantId] <String>] [-BillingProfile] <PSObject> [[-SaToken] <String>] [<CommonParameters>]

DESCRIPTION

The Set-PCCustomerBillingProfile cmdlet updates a customer's billing profile.

PARAMETERS

-TenantId <String>

Specifies the tenant used for scoping this cmdlet.

Required?                    false
Position?                    1
Default value                $GlobalCustomerId
Accept pipeline input?       false
Accept wildcard characters?  false

-BillingProfile <PSObject>

Specifies a variable that includes the billing profile.

Required?                    true
Position?                    2
Default value
Accept pipeline input?       true (ByValue, ByPropertyName)
Accept wildcard characters?  false

-SaToken <String>

Specifies an authentication token with your Partner Center credentials.

Required?                    false
Position?                    3
Default value                $GlobalToken
Accept pipeline input?       false
Accept wildcard characters?  false

INPUTS

OUTPUTS

NOTES

EXAMPLES

EXAMPLE 1

Update the current customer billing profile.

Get the current customer billing profile.

PS C:\>$customerBillingProfile = Get-PCCustomerBillingProfile -TenantId db8ea5b4-a69b-45f3-abd3-dca19e87c536

Update name and email address on the customer billing profile.

    $customerBillingProfile.FirstName = 'Joan'
    $customerBillingProfile.LastName = 'Sullivan'
    $customerBillingProfile.Email = '[email protected]'

Complete update for the customer's billing profile

    Set-PCCustomerBillingProfile -TenantId db8ea5b4-a69b-45f3-abd3-dca19e87c536 -BillingProfile $customerBillingProfile