Skip to content

Update-BTNotification with -ProgressBar option #103

Answered by PhilZ-cwm6
PhilZ-cwm6 asked this question in General
Discussion options

You must be logged in to vote

Your $Progress tip to use the DataBinding worked perfectly, many thanks !
However, I could not use the get-bthistory as I wanted:

Here's a sample test of what I am trying to achieve and that doesn't work.
When I try to query the contents of the toast, the Contents.InnerText values are not reported properly when using the DataBinding:

$DataBinding = @{
    FirstLine = "Current backup job:"
    SecondLine = "line2"
    ThirdLine = "line3"
}

$toastParams_Backup_Progress = @{
    UniqueIdentifier = "My Toast ID"
    Header = (New-BTHeader -Id 1 -Title "My Toast Title")
}

New-BurntToastNotification @toastParams_Backup_Progress -Text "FirstLine", "SecondLine", "ThirdLine" -DataBinding $DataBi…

Replies: 5 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Windos
Comment options

@PhilZ-cwm6
Comment options

@Windos
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Windos
Comment options

Answer selected by Windos
Comment options

You must be logged in to vote
1 reply
@Windos
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants