I'm trying to set up a Windows 2008R2 server using 
the ConfigureRemotingForAnsible.ps1 script but I get the error:


dir : Cannot find drive. A drive with the name 'WSMan' does not exist.
At line:98 char:3
+   dir 'WSMan:\localhost\Plugin\' -Force:$force | ? { $_.name -like 
"$filter" } | ...
+   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (WSMan:String) 
[Get-ChildItem], DriveNotFoundException
    + FullyQualifiedErrorId : 
DriveNotFound,Microsoft.PowerShell.Commands.GetChildItemCommand


   - PowerShell 4.0 is installed
   - The script is being run as Administrator
   - If I run winrm qc is says WinRM is already set up
   

The same script has worked on over 4000 other servers without a problem but 
I am stuck on this one!  What am I missing?




-- 
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/83ce7233-ae54-4425-b70c-f3a3398de31e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to