Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 570 Bytes

Set-PCCustomerBillingProfile.md

File metadata and controls

19 lines (11 loc) · 570 Bytes

Partner Center PowerShell Module (preview)

Set-PCCustomerBillingProfile

Get a customer

$customer = Get-PCCustomer -tenantid '<tenant id GUID>'

Get customer Billing Profile

$customerBillingProfile = Get-PCCustomerBillingProfile -tenantid $customer.id

Set customer Billing Profile

$customerBillingProfile.firstName = '<first name>'
$customerBillingProfile.lastName = '<last name>'
$customerBillingProfile.email = '<email>'
Set-PCCustomerBillingProfile -tenantid $customer.id -billingprofile $customerBillingProfile