Skip to main content

Simple Notification App [Param]

Summary

This script is designed to deliver a one-time, customized message to the partner, featuring your company's branding through an optional image URL. For branding purposes, using a PNG or JPEG image URL is recommended, though not mandatory. Once executed, the script will display the message on the logged-in user's screen within one minute.

File Hash

File Path: C:\ProgramData\_automation\Script\Run-SimpleNotification\Run-SimpleNotification.ps1
File Hash (Sha256): 436B5392177E8980BB9260A4836DDEF03D3B4F2814FFB201419D448246CD6C01
File Hash (MD5): 38C6FD44FF80351059C8FDC2A5ED29D2

File Path: C:\ProgramData\_automation\Script\Run-SimpleNotification\SimpleNotification.exe
File Hash (Sha256): 1AE4D2EE58285E0D37D89BA654CCC2205A98A108205BCC1FE14100974F16103A
File Hash (MD5): 1C7B2CB1A3F7436467A01A716EFBA691

Sample Run

Sample Image

The message parameter is mandatory to display the message to the user. All other parameters are optional; however, if no image is specified, it will result in a blank popup with only the message, which may cause trust issues with users.

Dependencies

SimpleNotification

Requirements

  • Windows Operating System
  • .NET 4.5

Variables

NameValue
ProjectNameRun-SimpleNotification
AppNameSimpleNotification
WorkingDirectoryC:\ProgramData_Automation\Script\Run-SimpleNotification
ScriptPathC:\ProgramData_Automation\Script\Run-SimpleNotification\Run-SimpleNotification.ps1
AppPathC:\ProgramData_Automation\Script\Run-SimpleNotification\SimpleNotification.exe
ConfigFileC:\ProgramData_Automation\Script\Run-SimpleNotification\Config.toml

User Parameters

NameExampleRequiredDescription
MessageThis is a test messageTrueThe message is displayed to the end user. (Maximum 300 characters).
ImageURLhttp://p.favim.com/orig/2018/08/24/cute-beautiful-couple-avatar-Favim.com-6224738.jpgFalseThe URL for the image to display instead of the default.
Emailsomeone@testing.comFalseThe support e-mail address is displayed to the user.
Phone000-000-0000FalseThe support phone number is displayed to the user.

Example

Parameters

NameValue
ImageURLhttps://labtech.provaltech.com/labtech/transfer/images/alogo.jpg
MessageThey said it's a secret mission, but I say it's a fashion emergency—Bond and I am armed with style and suspicious sunglasses!
Emailram.kishor@provaltech.com
Phone1234565432

Notification

Image1

Output

  • Script Log
  • Popup Message on User's desktop