Also, what are you trying to do? It's worth looking at the existing windows modules and seeing if they do some of what need.
Powershell has a ConvertTo-Json cmdlet that might well simplify your code, but it's worth trying to use the modules as things like idempotency and the ability to use check mode become useful once you have got a few things automated. Hope this helps as well, 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 ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/fdce320d-b8b0-4509-8b66-7cb6a3d02ee1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.