-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path8_update.ps1
More file actions
22 lines (15 loc) · 616 Bytes
/
8_update.ps1
File metadata and controls
22 lines (15 loc) · 616 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$Id = 'DemoUpdate'
$DataBinding = @{
HeadingPlaceholder = 'Demo Update'
TextPlaceholder = 'This is the first example line of text'
}
$Splat = @{
Text = 'HeadingPlaceholder', 'TextPlaceholder'
UniqueIdentifier = $Id
DataBinding = $DataBinding
}
New-BurntToastNotification @Splat
$DataBinding['TextPlaceholder'] = 'This is the second example line of text'
Update-BTNotification -UniqueIdentifier $Id -DataBinding $DataBinding
$DataBinding['TextPlaceholder'] = 'This is the third example line of text'
Update-BTNotification -UniqueIdentifier $Id -DataBinding $DataBinding