[Puppet Users] Powershell - Run as another user account

Jeff Picklyk
Tue, 28 Oct 2014 15:48:20 -0000

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 could just provide a PSCredential as an
argument and powershell module just deal with it for me.

Ideas?

Thanks,

Jeff

--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/puppet-users/5d210cb3-6c95-4ead-8791-80b1ceea81f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.