I need to use the SharePoint API in the following way in a PowerShell script:
C# Code:
var service = farm.Services.GetValue<SPWebService>();
How does one specify the generics parameter in PowerShell?
At the moment I get an Exception stating that "Late bound operations cannot be performed on types or methods for which ContainsGenereicParameters is true"