Set-BillingType
  • 1 Minute to read
  • Dark
    Light
  • PDF

Set-BillingType

  • Dark
    Light
  • PDF

Article summary

Summary

Updates an existing billing type.

Set-BillingType
    -Entry

Returns a billing type object.

Parameters

Parameter

Type

Required?

Notes

Entry

Billing Type Object

Yes


Examples

Update an existing OBJECT

# Retrieve an existing billing type using the Get-BillingType cmdlet
$billingType = Get-BillingType -Id 230

# Change some properties
$billingType.StandardUnitPrice = 4.50
$billingType.NarrativeIsRequired = $true

# Update the billing type using the Set-BillingType cmdlet
$updatedBillingType = Set-BillingType $billingType

# Output a message to the execution log
Write-Output "Updated billing type $($updatedBillingType.BillingTypeId) ($($updatedBillingType.Description))"Results of the script:
Updated billing type 230 (Everlaw Hosting (Tier 1))