The Invoke-GenericMethod function allows you to call generic .NET methods whose generic type cannot be inferred from their class or parameters.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name GenericMethods

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More


Dave Wyatt


Copyright 2014 Dave Wyatt.



powershell Generic Methods


This module has no dependencies.

Release Notes

Added support for methods with a params array argument.

Version History

Version Downloads Last updated (current version) 695 10/25/2014
1.0 52 5/8/2014