How to restart a remote Firefox in Windows machine?

Hi Team! I’ve tried to restart a firefox in remote machine to apply the updates. I can’t use chocolately because Net. Framework is neccesary but it’s not complied with security businness.

I have usedthese modules:
win_command
win_shell
raw
command

and a bat script in target machine with commands necessary to start firefox but not work.

Any idea?
Thanks in advanced.

Firefox would normally start an application in a window manager, a
console session, not a program that would run from a remote execution
tool like "winrm" or "ssh". Where do you expect it to display? And
what are you trying to do?