Ansible win_psslmgr_rearm module performs rearm operations using PowerShell PSSlmgr module .
Coresponding PSSlmgr PowerShell module is hosted on GitHub and licensed under the MIT license.
The module was a part of presentation 'Use your PowerShell skills to extend Ansible workflows. Create your own Ansible module for Windows platform.' under PowerShell Conference Europe 2018.