Get BrevoContactAttribute - tsubotitsch/Brevo GitHub Wiki

Get-BrevoContactAttribute

SYNOPSIS

Retrieves contact attributes from the Brevo API.

SYNTAX

Get-BrevoContactAttribute [[-Name] <String[]>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

The Get-BrevoContactAttribute function retrieves contact attributes from the Brevo API. It allows filtering by attribute name(s) if specified. The function uses the Invoke-BrevoCall helper function to make the API call.

EXAMPLES

EXAMPLE 1

# Retrieve all contact attributes
Get-BrevoContactAttribute

EXAMPLE 2

Get-BrevoContactAttribute -Name "FirstName"

Retrieve a specific contact attribute by name

EXAMPLE 3

Get-BrevoContactAttribute -Name @("FirstName", "LastName")
# or
Get-BrevoContactAttribute -Name "FirstName", "LastName"

Retrieve multiple contact attributes by names

PARAMETERS

-Name

The name of the contact attribute(s) to filter by. This parameter is case-insensitive and can accept a single string or an array of strings. If not specified, all attributes are returned.

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES

RELATED LINKS

⚠️ **GitHub.com Fallback** ⚠️