Remotely Launching Application in GUI mode

Procedure : #1

Enter-PSSession -ComputerName XXXX -Credential $cred
Start-Process 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Accessories\Snipping Tool.lnk'
Procedure: #2
Invoke-Command -Computername xxxx  -ScriptBlock { start-process 'C:\Windows\System32\notepad.exe' }
Procedure: #3
psexec.exe \\XXXX "C:\Windows\system32\notepad.exe"
Above specified commands run as Background service and not in GUI Mode. Appreciate suggestions for the same
  • GUI apps require locally logged on user interaction.

    You cannot launch GUI apps in remote sessions and make them visible in the logged on user context.

    You can run Code using psexec in the context f the current logged on user, but it must be a fully automated action, not requiring user interaction.

    There is no workaround for this and this is not a limitation of PowerShell. It is a Window is OS risk / operations level restriction.