StarWind is a hyperconverged (HCI) vendor with focus on Enterprise ROBO, SMB & Edge

How to display notifications on Windows 10 using PowerShell?

  • August 26, 2021
  • 6 min read
IT Production Manager. Nicolas is primarily focused on Microsoft technologies, he is a Microsoft MVP in Cloud and Datacenter Management.
IT Production Manager. Nicolas is primarily focused on Microsoft technologies, he is a Microsoft MVP in Cloud and Datacenter Management.

BurntToast Logo Banner

In this guide, I will explain to create and display a notification using PowerShell. To perform this task, I will use PowerShell and especially, the BurntToast module which is a custom module available on GitHub. You can download the module or use the PowerShell Gallery to install on your machine: The PowerShell Module works on Windows 10 and Windows Server 2019. At the time of writing, the latest version on PS Gallery is 0.8.5.

Notifications can be useful to display important information on your machine or to display information remotely on user workstations for example. In this guide, I will describe how to install this custom module, and then how to create your own notification locally.

First, run the following command to install the module for the PowerShell Gallery:

Do not forget to run your console as administrator before running the previous command.

Once the module is installed, you can run the “Get-Command” cmdlet to understand how to use the module. I will not cover all the cmdlet, but as you can see, it is easy to create a very complete notification.


The module is installed, then we can run the following cmdlet without additional arguments:

This basic cmdlet will create our first notification on the machine!

Create our first notification

Of course, as you can imagine, it is possible and very simple to customize the notification. We can customize the notification to adjust the logo, the text, add buttons, ….

Using the following command, I can easily add a logo with the “AppLogo” argument:


Now, I just add the “Text” argument to add:

  • The notification title
  • The notification description

It is very easy to understand, the first argument matches the title, and you can add two arguments to display a description in your notification. Two lines are the maximum allowed by the module.

Display a description in your notification

Depending on the notification content, you can also adjust the logo, in this example, I added a critical logo to notify users:

Add a critical logo to notify users

Now, we will add the ‘hero image’ which is the image on top of the notification. The following command creates a new Image element for Toast Notifications:

New Image element for Toast Notifications

This feature is very cool, you can add the company logo if you want to display notification on user’s workstations.

To finish this guide, we can add buttons on this notification. Thanks to these buttons, users can perform basic tasks. The following command lines will add two buttons on the notification:

Perform basic tasks

Of course, the module lets you perform other customizations to suit your needs, such as:

Adding sounds

Adding alarm clock

Hey! Found Nicolas’s insights useful? Looking for a cost-effective, high-performance, and easy-to-use hyperconverged platform?
Taras Shved
Taras Shved StarWind HCI Appliance Product Manager
Look no further! StarWind HCI Appliance (HCA) is a plug-and-play solution that combines compute, storage, networking, and virtualization software into a single easy-to-use hyperconverged platform. It's designed to significantly trim your IT costs and save valuable time. Interested in learning more? Book your StarWind HCA demo now to see it in action!