Forum Discussion

mbeckham's avatar
Occasional Contributor
2 years ago

DevOps Powershell task to run tscon

My Azure DevOps automation pipeline includes an inline Powershell task to run commands that will perform tscon.exe $sessionname /dest:console. My problem is that the Powershell command needs to be run in Administrator mode, which I do not know how to do.

Is there anyone whom might have experienced this same problem and resolved it?