Run Powershell Remote command with service account credentials

Isaac

Lifelong Learner
Local time
Today, 10:18
Joined
Mar 14, 2017
Messages
9,626
I know how to run a powershell command on a remote server, and I'm aware of the USERNAME arg, but how can I run it unsupervised - without needing user intervention? (like from an SSIS package - using the service account username and password)
 
update, looks like the USERNAME arg is not required and it will automatically run under whoever's authority is running it at the moment, meaning that if the entity running the sql agent job is X, then the powershell command should run under X, at least if it works the same as it seems to be working on my local. we'll see!
 

Users who are viewing this thread

Back
Top Bottom