DevOps Powershell task to run tscon
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-09-2022
07:24 PM
11-09-2022
07:24 PM
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
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2022
03:10 AM
11-10-2022
03:10 AM
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.
