To follow up, it appears you need to convert the incoming data to a byte 
array.  I have some prototype code that can do this and will tidy up the 
code and create a pull request to add this when I get the chance.  If 
anyone else hits this before the PR is available let me know and I'll send 
you a modified version of win_regedit.

All the best,

Jon

On Thursday, 25 February 2016 10:18:29 UTC, J Hawkesworth wrote:
>
> Hi,
>
> Does anyone have an example of using win_regedit to set binary data?
>
> I have a hex encoded string from a reg export but so far not found a way 
> to convert it to whatever powershell needs.
>
> Many thanks,
>
> Jon
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0eb00117-c25d-4954-8882-4b9ce8c18dc5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to