Toast Notifications with PowerShell: From Noob to Master Baker

Поделиться
HTML-код
  • Опубликовано: 25 окт 2020
  • Presented by Josh King:
    Toasts are a notification scheme in most, if not all, modern Operating Systems. Microsoft makes heavy use of them in Windows 10, and so can you! Don’t know where to start? This session provides a rapid on-ramp towards toast mastery using the BurntToast PowerShell module, from no previous knowledge to some of the most advanced topics!
  • НаукаНаука

Комментарии • 20

  • @jmemusic
    @jmemusic 3 года назад

    First of all, thanks for that great Powershell module and this video. It was easy to understand.
    Now to the point:
    Something I missed here was the point of using toast notification instead of your own popup notifications. Yesterday I was aware that my boss was broadcasting a lecture through zoom. He was doing screen sharing. We have a software called Baramundi, which is used to automatically install and update Windows applications. You can do it in two ways: run it on the background or give the user the possibility to delay or cancel it.
    Now to the point: I was submitting all updates at that day and some of them can't be done without the user approval, but I didn't do it because I though: what if the popup shows while he is on the lecture? So, I tested it by myself and also choose on the Windows notifications: "Only alarms". What happened? It was shown despite of this setting. Why? Because it wasn't programmed with toast notifications. So, I think that's something you should also mention on the beginning: the advantages of Windows toast notifications against your own notifications.
    By the way, I did the same test with a BurntToastNotification notification and it worked as expected. The notification was hidden while "only alarms" was selected.
    Other thing to see would be: how to force your notification to be an alarm or a high priority notification instead of some warning or information.

  • @JimMager
    @JimMager 3 года назад

    Thank you!! This was great!!

  • @YuriyDizorder
    @YuriyDizorder Год назад

    Thanx a lot, a bit of PowerShell masterpiece!

  • @AbhijitGulab
    @AbhijitGulab 2 года назад

    Thank you. Great presentation. Could you point me to the documentation for BurntToast

  • @eric3434
    @eric3434 3 года назад +6

    Looking for a way to read (not show) toast messages from powershell. Is there any way?

    • @WindosNZ
      @WindosNZ 3 года назад +1

      Sorry, only just checked for comments now. Prob a little more than I can answer here, but would encourage you to open a discussion over on the BurntToast GitHub repo (github.com/Windos/BurntToast) and I'll be able to help you out on this.

    • @monkassasin9499
      @monkassasin9499 2 года назад

      Did you ever figure this out? I am trying to read OTPs programmatically. Best I have come up with so far is to have an Android App Forwarding SMS to an API running on my PC. But that app has to run all the time and is draining my battery. I was hoping to use Windows 10 YourPhone app and read the SMS content from the notification.

    • @jackcarter1897
      @jackcarter1897 2 года назад

      Yes. If you type in powershell the following:
      *Get-StartApps*
      This will list all apps and their 'AppID' on the right hand side. Select an app you want to use to send the notification by copying it's AppID. For example: Microsoft Teams AppID is 'com.squirrel.Teams.Teams'.
      Now add this line to your burnt notification command:
      *-AppID 'YOUR_APP_ID'* (replace YOUR_APP_ID with the ID of the app you want to use.
      so if you want to send the notification from Microsoft Teams then it should look like this:
      *-AppID 'com.squirrel.Teams.Teams'*
      That should send the notification from that app now instead of powershell.
      You can't send a notification from a blank app. It needs to come from somewhere.

    • @jackcarter1897
      @jackcarter1897 2 года назад

      @@monkassasin9499 Read my answer above. Hope that helps.

    • @monkassasin9499
      @monkassasin9499 2 года назад +2

      @@jackcarter1897 Sorry, what you are talking about is sending a notification which will appear as a popup or on the notifications panel. I am trying to programmatically read the contents of such a notification so I can use it to trigger a script on the windows box.

  • @varunstyle1986
    @varunstyle1986 2 года назад

    Great Post, How do we create Button which takes date time from user ( in calendar format) and schedule task scheduler to run on that date and time.

  • @perelmsater8775
    @perelmsater8775 8 месяцев назад

    I'm interested in creating scheduled toast notifications that repeat on a pre set time every day. Whether or not anybody is logged on and especially if the computer is in connected standby. Could you point me in the right direction for that?

  • @Frank-rh5nh
    @Frank-rh5nh 2 года назад

    long but very interesting ! great

  • @twistynado
    @twistynado 2 года назад

    I have a slight issue. If I try to run my program, I get an error that says "New-BurntToastNotification : The 'New-BurntToastNotification' command was found in the module 'BurntToast', but the module could not be loaded.". How do I fix this?

  • @coskun5573
    @coskun5573 2 года назад

    its 9mins because its a real toast reminder message!

  • @mayacondomitti6885
    @mayacondomitti6885 2 года назад

    brilliant

  • @redz_nouggy2027
    @redz_nouggy2027 2 года назад

    thank you

  • @sagarpanchal6309
    @sagarpanchal6309 2 года назад

    Even after installing the burnt toast module, I do not get the toast notification. When I run New-BurntToastNotification it runs but nothing happens. And I do not get any errors either.

    • @fraser-b3494
      @fraser-b3494 Год назад

      I assume you probably already resolved this, but I had this issue and it was to do with notifications being disabled.

  • @aytac921
    @aytac921 Месяц назад

    great dayi