When you run Windows Azure PowerShell cmdlets, you receive an error message that resembles the following message:
Method invocation failed because [System.Object] doesn't contain a method named 'RemoveAll'.
This problem occurs for either of the following reasons:
- You are using an outdated version of Azure PowerShell.
- You are using a method name that does not exist.
To resolve this problem, do either of the following:
- Install the latest version of Azure PowerShell. To upgrade the program, go to the following Azure website:
- Make sure that you are using the correct method name.
Article ID: 3072418 - Last Review: 14 Aug 2015 - Revision: 1