Replies: 1 comment
-
To kick the toast over to the user context from SYSTEM, you can use @KelvinTegelaar's RunAsUser (GitHub). This was written specifically for use cases like this, though normally from an RMM system that tends to run its code under the SYSTEM context. You can get some more context on this from this blog post: Monitoring with PowerShell: Notifying users of Windows Updates. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I use Windows 10 task scheduler to start Powershell as SYSTEM to hide console window and Java application that I execute inside script (using Start-Process). How can I use BurntToastNotification in this situation? I do not get notifications, because the user is SYSTEM, when I start as current USER everything is fine but every 10 minutes I see console and Java ((
Beta Was this translation helpful? Give feedback.
All reactions