< Back

New-BTShoulderTapBinding

Sun Jan 12, 2020 7:38 pm

NAME New-BTShoulderTapBinding



SYNOPSIS

Creates a new Shoulder Tap Binding object.





SYNTAX

New-BTShoulderTapBinding [-Image] <ToastShoulderTapImage> [-AddImageQuery] [[-BaseUri] <Uri>] [[-Language]

<String>] [<CommonParameters>]





DESCRIPTION

The New-BTShoulderTapBinding function creates a new Shoulder Tap Binding Object, with which you can specify the

Image to be displayed.





PARAMETERS

-Image <ToastShoulderTapImage>

The image displayed in the Shoulder Tap notification, this object is created using the New-BTShoulderTapImage

function.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-AddImageQuery [<SwitchParameter>]

Set to "true" to allow Windows to append a query string to the image URI supplied in the Toast notification.

Use this attribute if your server hosts images and can handle query strings, either by retrieving an image

variant based on the query strings or by ignoring the query string and returning the image as specified

without the query string. This query string specifies scale, contrast setting, and language.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-BaseUri <Uri>

A default base URI that is combined with relative URIs in image source attributes.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Language <String>

The target locale of the XML payload, specified as BCP-47 language tags such as "en-US" or "fr-FR". This

locale is overridden by any locale specified in binding or text. If this value is a literal string, this

attribute defaults to the user's UI language. If this value is a string reference, this attribute defaults to

the locale chosen by Windows Runtime in resolving the string.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

LOTS...





OUTPUTS

ToastBindingShoulderTap





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$Image = New-BTShoulderTapImage -Source 'https://www.route66sodas.com/wp-content ... /Alert.gif'



New-BTShoulderTapBinding -Image $Image











RELATED LINKS

https://github.com/Windos/BurntToast/bl ... Binding.md