Can you double-check that you're running as admin? OS / PowerShell version?

As for the write-verbose part, that only shows if you set 
$verbosePreference to "Continue".

On Tuesday, June 23, 2015 at 1:28:23 AM UTC+2, Michael Legleux wrote:

> It previously has always worked for me but now I'm getting an error
>
> Unable to establish an HTTP or HTTPS remoting session.
> At C:\users\stage\Desktop\configure_windows_for_ansible.ps1:129 char:5
> +     Throw "Unable to establish an HTTP or HTTPS remoting session."
> +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>     + CategoryInfo          : OperationStopped: (Unable to estab...moting 
> session.:String) [], RuntimeException
>     + FullyQualifiedErrorId : Unable to establish an HTTP or HTTPS 
> remoting session.
>
> The last line of the script is:
> Write-Verbose "PS Remoting has been successfully configured for Ansible."
>
> I have NEVER seen this line printed when configuring ansible, despite the 
> config script successfully enabling ansible to connect.
>
>
>

-- 
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/aeb6983a-19f9-4528-a769-04ec555abf47%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to