Vbscript 什么';s编写脚本以本机方式添加windows 10通知的最佳方式(即不使用BurntToast)

Vbscript 什么';s编写脚本以本机方式添加windows 10通知的最佳方式(即不使用BurntToast),vbscript,scripting,notifications,windows-10,Vbscript,Scripting,Notifications,Windows 10,我需要能够在Windows 10上显示通知。在Mac电脑上,我只需执行一个快速AppleScript: osascript -e 'display notification "That’s all folks" with title "So long..." subtitle "...and thanks for all the fish." sound name "Frog"' 我找不到与Windows相同的版本,所以我想我得写点东西了。我遇到的唯一项目都是参考安装BurntToast。这是

我需要能够在Windows 10上显示通知。在Mac电脑上,我只需执行一个快速AppleScript:

osascript -e 'display notification "That’s all folks" with title "So long..." subtitle "...and thanks for all the fish." sound name "Frog"'

我找不到与Windows相同的版本,所以我想我得写点东西了。我遇到的唯一项目都是参考安装BurntToast。这是对客户的否定。我不介意我是否必须编写一个简单的VBS或一些我可以用参数调用/调用的东西,只要标题和一条短消息就可以了。有什么想法吗?

类似的吗?如果从VBScript生成PowerShell进程是一个选项,那么调用类似以下内容:
PowerShell.exe-NoLogo-NonInteractive-WindowStyle Hidden-Command.{[Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms');[Reflection.Assembly]::LoadWithPartialName('System.Drawing'));$notify=New Object System.Windows.Forms.NotifyIcon;$notify.Icon=[System.Drawing.SystemIcons]::信息;$notify.Visible=$true;$notify.showballotip(5000,'Information','Hello World!',[System.Windows.Forms.TooltipIcon]::无)