Thank you both for your reply.

The scenario i have is as follows.
I need to create/destroy/modify active directory group.

There is a winad module, once i was able to get it working to create the 
group it was doing it under my user context. 
To have it run properly i would need to supply it a credential.

Unless i am missing it i would need to execute powershell with username and 
password pass it to get-credential and populate a variable.

Then take a variable pass that to -credential and it would create the group 
as i need or destroy. 

I am grateful for any help suggestions.

Thank you again.


On Tuesday, April 10, 2018 at 12:41:27 PM UTC-5, Jason McMahan wrote:
> Good day,
> I wanted to toss this out there to see if anyone has tried this.
> Could i perform a hiera lookup from within a custom puppet provider?
> My thinking is to lookup an encrypted password, then use the lookup to 
> decrypt and pass the username and password to a powershell that i need to 
> execute within that provider.
> Thoughts?

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 view this discussion on the web visit
For more options, visit

Reply via email to