New-BTContentBuilder

SYNOPSIS

Create a toast builder object.

SYNTAX

1
New-BTContentBuilder [-WhatIf] [-Confirm] [<CommonParameters>]
Copied!

DESCRIPTION

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

EXAMPLES

EXAMPLE 1

1
$Builder = New-BTContentBuilder
Copied!
This example creates a new toast content builder object and storing it in a variable named $Builder.

EXAMPLE 2

1
$Builder = Builder
Copied!
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.
1
Type: SwitchParameter
2
Parameter Sets: (All)
3
Aliases: wi
4
5
Required: False
6
Position: Named
7
Default value: None
8
Accept pipeline input: False
9
Accept wildcard characters: False
Copied!

-Confirm

Prompts you for confirmation before running the cmdlet.
1
Type: SwitchParameter
2
Parameter Sets: (All)
3
Aliases: cf
4
5
Required: False
6
Position: Named
7
Default value: None
8
Accept pipeline input: False
9
Accept wildcard characters: False
Copied!

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

None

You cannot pipe objects to New-BTContentBuilder.

OUTPUTS

Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder

NOTES

RELATED LINKS