Trigger Native Operating System Notifications with PowerShell

Published: 02 February 2019
on channel: Trevor Sullivan
2,913
74

There is a new community module available that enables you to send operating system notifications from your PowerShell scripts. You can easily install this module from the PowerShell Gallery, using the Install-Module command in PowerShell. Use the -Scope CurrentUser parameter, on the Install-Module command, to install the command in your non-admin module directory. On Windows, this is typically under your Documents directory in your user profile.

The Send-OSNotification command is the single command exported from the PoshNotify module. It presently has three parameters, allowing you to customize the notification message body (-Body), the title (-Title) and the Icon (-Icon). The only required parameter is the -Body parameter, which includes the custom message that you want to send to the user.

PoshNotify on GitHub: https://github.com/Windos/PoshNotify/
Contributors: https://github.com/Windos/PoshNotify/...

Producer: Trevor Sullivan
Website: https://trevorsullivan.net
Patreon:   / trevorsullivan  
Twitter:   / pcgeek86  
Gab: https://gab.ai/trevors

#PowerShell #DevOps #Microsoft


On this page of the site you can watch the video online Trigger Native Operating System Notifications with PowerShell with a duration of hours minute second in good quality, which was uploaded by the user Trevor Sullivan 02 February 2019, share the link with friends and acquaintances, this video has already been watched 2,913 times on youtube and it was liked by 74 viewers. Enjoy your viewing!