1 person found this helpful
Glad to hear you like the built-in UEM message box :-) It's not officially documented, but I'm not planning on changing it, so:
FlexEngine.exe -m "Your title" "First line" "Second line" "Third line"
You can add more lines by adding more arguments. If you want an empty line, specify as the argument:
FlexEngine.exe -m "Now with an empty line" "First line" "" "Second (well, third :-) line"
Wow. That is very helpful!!
I appreciate you sharing this neat little trick! I'd have never thought to use the FlexEngine -m switch like that...
Can we use this feature as logon task?
Nope, as the docs state: Logon and Logoff tasks run "invisibly" so they cannot be used to start applications and do not support user interaction.
So, if you wanted to use this to show a message to the user at logon, you'd have to create a shortcut in the Startup folder, or configure this to run through File Explorer's Run key.
I've created this as a Shortcut in the startup folder, and it is working fantastic in Windows 7 (32/64-bit) & Windows 10.
Target: %ProgramFiles%\Immidio\Flex Profiles\FlexEngine.exe
Arguments: -m "Reminder: Two Factor Authentication" "Reminder: Effective March 1st, all VDI users must register for Two Factor Authentication." "Please be sure to click the 'Two-Factor Self Registration' icon on your VDI desktop to avoid interruption to your remote access." "" "Thank you!"
Now I can target individual pools with Notices/Announcements.