Need someone help for this issue .\ConfigureRemotingForAnsible.ps1 is not recognized

Here’s a way you can download it straight from ansible project.

On your windows machine, logged in as Adminstrator, start powershell and then run the following command

wget https://github.com/ansible/ansible/blob/devel/examples/scripts/ConfigureRemotingForAnsible.ps1 -OutputFile .\ConfigureRemotingForAnsible.ps1

Then you can run the powershell script.

.\ConfigureRemotingForAnsible.ps1

The above might not work on older versions of windows but I think should work ok if you have powershell version 3 or newer.

Hope this helps,

Jon