Ask a Question

DevOps Powershell task to run tscon

mbeckham
Occasional Contributor

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?

Mark.

1 REPLY 1
rraghvani
Trusted Contributor

Sounds like the account user that has been setup to run the PowerShell script doesn't have the appropriate permissions. You'll need to get in contact with your IT

 

See if this might help Gaining administrator privileges in PowerShell

cancel
Showing results for 
Search instead for 
Did you mean: