I have a question, regarding managing AWS VMs on a system level. On azure cloud i was using CSE extensions to run powershell scripst and manage/configure VMs. I AM looking for similar solution for AWS cloud. I was thinking about SSM dosuments, but that is not a good choice i suppose.
You can use runPowerShellScript SSM Run Command:
Run PowerShell scripts or specify the path to a script to run. This plugin runs on Microsoft Windows Server and Linux operating systems.
This allows you to run any PowerShell script on your Windows instance, on condition that it is setup to work with System Manager.