When we add an icon to the toolbar, we can input the full path name for executable or only the exe name if this path is included to the PATH= variable. For example,
powershell.exe is enough for the command of PS button. However, to run PS as administrator with asterisk, need to input the full name, in my case
*C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Adding the asterisk before the filename in the button command
*powershell.exe results in error:
Windows cannot find '*powershell.exe'. Make sure you've typed the name correctly, then try again.
However, in the TC command line adding the asterisk works well, as expected.