This is an old revision of the document!
This page needs more work
The rules of writting charms are the same in Windows as they are in linux. As a reference, the Havana Hyper-V charm can be used. The charm can be found at:
By default, Juju adds $env:CHARM_DIR\hooks\Modules and $env:CHARM_DIR\Modules in $env:PSModulePath. So you can simply write a module, bundle it with your charm, and simply do an Import-Module in your hooks. We should strive to create a common suite of helper modules for all juju charms on windows!
The CharmHelpers module in the above mentioned Hyper-V charm is a good start. Its basically a port of the Openstack charm helpers written in python.