Found issue on different System architecture.

On x86 systems doesn't work so, starting by the line 63 we check if the architecture is x86 or x64.
Update firewall rules, error handling, other comment/whitespace cleanup.
Merge pull request #9537 from cchurch/update_remoting_config

Updates to ConfigureRemotingForAnsible.ps1
Merge pull request #9481 from cipress/patch-1

fixes powershell upgrade script to work on different System architectures.