Method invocation is not supported in a Windows PowerShell Workflow. To use .NET scripting, place your commands in an inline ...