https://github.com/qsypoq/Ansible-VMware-Workstation-Fusion-Pro-Modules looks like it wraps vmrest.exe which would allow you to control the power state of VMs.
You could also, more crudely, just stop/start using vmrun.exe [stop|suspend|start] <path to .vmx> and wrap that with command/shell/win_powershell. On Mon, 25 Jul 2022 at 12:59, Mohan <[email protected]> wrote: > Hello Community members, > > I’m using vmware workstation version 15.0.0 on Ubuntu-20.04-LTS machine. > > We have deployed VM workstation based Windows-10 machines in that. I want > to know which ansible module we can use to *PowerOn *and *PowerOff *windows-10 > virtual machines from workstation? > > I was searching online to find ansible module for the same, However i > couldn’t find the ideal document. So please let me know module in ansible? > > -- > You received this message because you are subscribed to the Google Groups > "Ansible Project" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/ansible-project/adc99c80-db2e-4f06-ad1a-5db1a5dbfb5bn%40googlegroups.com > <https://groups.google.com/d/msgid/ansible-project/adc99c80-db2e-4f06-ad1a-5db1a5dbfb5bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/CAKtKohSzTRcg6Xeptx84X-m0PgJJVoQLhkWCEpVAYK4Qc%3DAaGw%40mail.gmail.com.
