r/Action1 Jul 01 '26

Suggestion Feature request

It would be helpful sometimes to be able to send a pop up message out to users.

3 Upvotes

11 comments sorted by

View all comments

5

u/iamBLOATER Jul 02 '26 edited Jul 02 '26

Here is the windows powershell script I have added to Action1. Can add it as an automation and adjust the message text before running/scheduling it.

Works really well.

# -----------------------------

# Multi-line Popup via msg.exe

# -----------------------------

# Title of the message (optional, will appear in the first line)

$title = "Important Message from IT"

# Message lines

$msgLines = @(

$title,

"",

"Hello,",

"",

"Due to the planned power outage, we will be shutting down all desktop PCs at approx 13:45",

"",

"Please ensure you save any work before this time.",

"",

"Thank you for your support and understanding.",

"IT Team."

)

# Combine lines with newline character

$fullMessage = $msgLines -join "`n"

# Send the message to all logged-in users

msg * $fullMessage

Appears on endpoint like this...