Added explicit type arguments for PSMemberInvoke