So I can run...
runas /user:PNG\SomeSvc "cmd /c ^"powershell.exe^""
And get a powershell prompt that's run by a different user.
But if I'm using Windows Terminal and I want to run it as a different user, how would I do that? I'm sure it probably has something to do with the json configuration file.
Also, is there anything I would need to use for authentication if I store the file in a secure string or "Windows Credential Manager" via the New-StoredCredential
commandlet?