Denis Posted December 17, 2020 Posted December 17, 2020 I am looking to create an automated pop up message via powershell to alert users in a certain scope. Example: Systems will be under going maintenance, please ensure you leave the system on. However, I noticed due to powershell being in 'session 0' it won't show the pop up box for the user. How can I get around this or does anybody have another method? Side note: I did notice you can send group messages via Pulseway Group section, but I don't think I could automate that?
Administrators Paul Posted December 17, 2020 Administrators Posted December 17, 2020 You could use the msg command: msg * "Your message goes here" -Paul
JonasB Posted February 1, 2023 Posted February 1, 2023 (edited) Can the msg command do anything else? Yes / No etc etc. If so, can you provide a link with full syntax for this command? I want to push out software that requires several applications to be closed before proceeding, so Id preferably like to ask the user to close before proceeding, also giving them the option to pass on the install. I don't want to abruptly kill these apps either (Word, Excel, Outlook etc.) I've tried using [System.Windows.MessageBox] and [System.Windows.Forms.MessageBox] which doesn't seem to work due to PS user impersonation requirements to install with admin rights. Any advice is appreciated. Thank You. Edited February 1, 2023 by JonasB
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now