[Puppet Users] Powershell - Run as another user account

2014-10-28 Thread Jeff Picklyk
Hello everyone, What is the suggested way with Puppet 3.7.x of running a powershell command under another user's context? I see that exec has a group and user parameter but I can't find documentation on how this relates to windows and specifically powershell commands. It would be nice if I co

Re: [Puppet Users] Powershell - Run as another user account

2014-10-28 Thread Jeff Picklyk
ill. I'm going to try to use Invoke-Command which allows for PSCredentials to be passed as is documented here: http://matthewyarlett.blogspot.com/2014/04/powershell-runas.html On Tuesday, October 28, 2014 3:39:53 PM UTC-4, Rob Reynolds wrote: > > > > On Tue, Oct 28, 2014 at