LogoLogo
  • Introduction
  • System Requirements
  • Getting Started
  • Concepts
    • Toast
  • Commands
    • Add-BTAppLogo
    • Add-BTHeroImage
    • Add-BTImage
    • Add-BTText
    • New-BTContentBuilder
    • Show-BTNotification
  • Changelog
Powered by GitBook
On this page
  • SYNOPSIS
  • SYNTAX
  • DESCRIPTION
  • EXAMPLES
  • EXAMPLE 1
  • EXAMPLE 2
  • PARAMETERS
  • -WhatIf
  • -Confirm
  • CommonParameters
  • INPUTS
  • None
  • OUTPUTS
  • Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder
  • NOTES
  • RELATED LINKS

Was this helpful?

Edit on GitHub
  1. Commands

New-BTContentBuilder

SYNOPSIS

Create a toast builder object.

SYNTAX

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

$Builder = New-BTContentBuilder

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

EXAMPLE 2

$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.

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.

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

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

CommonParameters

INPUTS

None

You cannot pipe objects to New-BTContentBuilder.

OUTPUTS

Microsoft.Toolkit.Uwp.Notifications.ToastContentBuilder

NOTES

RELATED LINKS

PreviousAdd-BTTextNextShow-BTNotification

Last updated 2 years ago

Was this helpful?

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

about_CommonParameters