Project

PSWriteHTML

Generate HTML reports, dashboards, and emails from PowerShell without writing HTML, CSS, or JavaScript.

Stars 1,023
Forks 115
Open issues 54
PowerShell Gallery downloads 7,576,901
Release v1.45.0
Language: PowerShell Updated: 2026-11-03
Command

EmailBCC

Module
PSWriteHTML

Creates an email object for blind carbon copy (BCC) recipients.

Syntax

EmailBCC
[[-Addresses] <String[]>]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

This function creates an email object specifically for blind carbon copy (BCC) recipients. It takes an array of email addresses and returns a custom object representing the BCC recipients.

Examples

Example 1

$BCCRecipients = EmailBCC -Addresses 'bcc1@example.com', 'bcc2@example.com'
Creates an email object with two BCC recipients.

Example 2

$BCCList = 'bcc1@example.com', 'bcc2@example.com'
$BCCRecipients = EmailBCC -Addresses $BCCList
Creates an email object with multiple BCC recipients.

Parameters

-Addresses String[] optionalposition: 0
Specifies an array of email addresses for the BCC recipients.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.