I am trying to use win_feature on a Windows 2008 R2 Server and reviving the 
following error:

FAILED! => {"changed": false, "failed": true, "msg": "Method invocation 
failed because [System.Management.Automation.PSCustomObject] doesn't 
contain a method named 'Remove'."}

The server is running PowerShell 3.0. I tried updating this to 4.0 because 
win_feature is working on a 2012 Server, but this didn't resolve the 
problem.

Thanks in advance!!

-- 
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/b02be651-f366-40de-bc8f-9d436ad3845f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to