You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possible typo
https://github.com/Windos/BurntToast/blob/main/Examples/Example05/New-ToastReminder.ps1
Line 94: $AppLogo=$AppLogo
Should be: AppLogo =$AppLogo
Expected Behavior
No error
Actual Behavior
Cannot convert value "System.Collections.Specialized.OrderedDictionary" to type
"System.Management.Automation.LanguagePrimitives+InternalPSCustomObject". Error: "Cannot process argument because the value
of argument "name" is not valid. Change the value of the "name" argument and run the operation again."
At C:\Users\owner\Desktop\burnttoast\New-ToastReminder.ps1:91 char:9
Replace with the output of: $PSVersionTable
Name Value
---- -----
PSVersion 5.1.19041.1320
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.1320
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Environment data: OS
Replace with the output of: Get-ComputerInfo | fl OsName, OsVersion, OsArchitecture
OsName : Microsoft Windows 10 Pro
OsVersion : 10.0.19043
OsArchitecture : 64-bit
Environment data: BurntToast
Replace with the output of: Get-Module -Name BurntToast -ListAvailable
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 0.8.5 BurntToast {Get-BTHistory, New-BTAction, New-BTAppId, New-BTAudio...}
Consent to Attribution
Please shout me out if I've inspired a blog post!
The text was updated successfully, but these errors were encountered:
Good spotting, thanks @mrpostmantome. I'm cleaning up this repo and doing something new for the examples with v1 so I'll sort this as part of that work (and keep this open until that's done.)
Steps to Reproduce
Expected Behavior
No error
Actual Behavior
Cannot convert value "System.Collections.Specialized.OrderedDictionary" to type
"System.Management.Automation.LanguagePrimitives+InternalPSCustomObject". Error: "Cannot process argument because the value
of argument "name" is not valid. Change the value of the "name" argument and run the operation again."
At C:\Users\owner\Desktop\burnttoast\New-ToastReminder.ps1:91 char:9
Experience with Toast
Beginner
Environment data: PowerShell
Environment data: OS
Environment data: BurntToast
Consent to Attribution
The text was updated successfully, but these errors were encountered: