# New-BTContentBuilder

## SYNOPSIS

Create a toast builder object.

## SYNTAX

```powershell
New-BTContentBuilder [-WhatIf] [-Confirm] [<CommonParameters>]
```

## DESCRIPTION

The New-BTContentBuilder function creates a new toast content builder object to construct a complete notification.

## EXAMPLES

### EXAMPLE 1

```powershell
$Builder = New-BTContentBuilder
```

This example creates a new toast content builder object and storing it in a variable named $Builder.

### EXAMPLE 2

```powershell
$Builder = Builder
```

This example creates a new toast content builder object using the Builder alias and storing it in a variable named $Builder.

## PARAMETERS

### -WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

### -Confirm

Prompts you for confirmation before running the cmdlet.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### None

You cannot pipe objects to New-BTContentBuilder.

## OUTPUTS

### Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder

## NOTES

## RELATED LINKS


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.toastit.dev/commands/new-btcontentbuilder.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
