Install python3-winrm by entering the following commands in the terminal:
sudo apt update sudo apt install python3-winrm
Description:
Python 3 library for Windows Remote Management
pywinrm is a Python client for Windows Remote Management (WinRM). This allows you to invoke commands on target Windows machines from any machine that can run Python. . WinRM allows you to call native objects in Windows. These include, but are not limited to, running batch scripts, powershell scripts and fetching WMI variables.
Homepage: https://github.com/diyan/pywinrm
Version: 0.3.0-1ubuntu1
Section: universe/python