Issue with CloseApps prompt running as current standard user

I am prompting user to close Outlook if the process is running -

Show-InstallationWelcome -CloseApps “Outlook” -AllowDeferCloseApps -DeferTimes 3 -MinimizeWindows:$False

The script is running as the current user and without Admin Rights. If there is another user logged into the machine with Outlook open, the closeapps prompt will never go away because it cannot close the outlook process running under the other logged in user. Is there a way to check only for current user processes? And to only close the current user processes?

I use this script
[psobject]$GetlogonUser = (Get-LoggedOnUser)
foreach ($LoggedOnUser In $GetlogonUser) {
IF (($LoggedOnUser).IsConsoleSession) {
[string]$UserName = (($LoggedOnUser).UserName)
[string]$UserNameSiD = (($LoggedOnUser).SID)
Break
} else {
[int32]$mainExitCode = 1640
[string]$mainErrorMessage = “The current user is not permitted to perform installations from a client session of a RDP session.”
Write-Log -Message $mainErrorMessage -Severity 3 -Source $deployAppScriptFriendlyName
Show-DialogBox -Text $mainErrorMessage -Icon ‘Stop’
Exit-Script -ExitCode $mainExitCode
}
}

How do your users launch your Deploy-Application.ps1?
A shortcut?
Is this an Outlook extension or plugin?