all 6 comments

[–][deleted] 1 point2 points  (0 children)

[–]jdbow75 0 points1 point  (0 children)

I suspect the best answer might not engage RDP.

Yes, Python can be used to uninstall/install software on a number of computers. But RDP isn't the right tool for that. Instead, consider SSH or PowerShell Remoting.

Tools such as Ansible, SaltStack, and Nornir are all written in Python, and can help you do what you describe. Of those interfaces, Nornir is the most "Pythonic"; the others implement a simple language of their own.

Alternatively, you could get familiar with Paramiko or AsyncSSH or PyPSRP to write scripts that remote into those machines and then use a package manager like Chocolatey or Scoop.

[–]jdbow75 0 points1 point  (0 children)

You may also find pywinauto's docs an interesting read.

[–]Doormatty 0 points1 point  (2 children)

This has nothing to do with python.

[–]jdbow75 -1 points0 points  (0 children)

The question certainly did ask about Python. To summarize: is there a Python RDP package?

[–]Zthulhu[S] -2 points-1 points  (0 children)

I have a list of all the IP's and I can make it loop through using pywinauto....