ttl Posted April 4 Share Posted April 4 Powershell scripts are executed as SYSTEM and trying to execute a PS command as a user I run into the Powershell restrictions, which I don't which to change. There's some third party options and PS modules which I had minimal success with, is there perhaps a way to utilize Filewave to execute a GUI notification? This was easily achievable in Mac using osascript and invoking su -l $current_user -c /scriptpath Windows is proving substantially more difficult to achieve the same. Use case: There's an upgrade fileset for an app heavily used by users. During the upgrade there IS a brief interruption and it'd be nice to notify them on-screen, as opposed to manually sending out emails which they often don't read until after the interruption already occurred. Link to comment Share on other sites More sharing options...
Sean Posted April 13 Share Posted April 13 Try something like: C:\Windows\Sysnative\msg.exe * /TIME:100 Party Time https://ss64.com/nt/msg.html Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now