I'm trying to run ansible code to execute code on a windows machine. I do that by scheduling a task as a way of 'elevating' as mentioned in the documentation.
This has worked previously, but now I switched to working with Windows 7 enterprise, and I've had several problems already.
Currently, I upgraded powershell to version 4.0, and when I run my ansible code, I get the following error:
"The term 'Get-ScheduledTask' is not recognized as the name of a cmdlet"
Is there a way to fix this? (maybe a windows hotfix)
Has this happened before to anyone?