I came across these two sites and wanted to try and implement:
How do you pop a Toast Notification in Windows 10? In this post we will guide you through the concept of a Toast Notification, how to customise one, wrap it in PowerShell and then deliver it to your users via #MEMCM #ConfigMgr
Problem is, with our security we don’t allow regular users to run powershell scripts…
I was wondering if there’s anyway to use PSADT to deploy? I tried
Execute-Process -Path "$PSHOME\powershell.exe" -Parameters "-ExecutionPolicy unrestricted -file $dirFiles\Toast_Notify.ps1"
But it didn’t work… No errors, just nothing happened… Then I wondered if it’s not possible with our security, is it possible to accomplish what they are doing with PSADT alone? PSADT I know uses toast notifications with custom icons and messages and what not…
It’s probably a security context issue.
If you launch PSADT from Software Center, it run as SYSTEM
For a user to see the Toast, the toast call must happen in the user context.
PSADT does have a Show-BalloonTip
function that effectively works like Toast.
Show-BalloonTip -BalloonTipText 'Installation Started' -BalloonTipTitle 'Application Name'
Is this good enough?
system
Closed
September 20, 2022, 2:30am
3
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.