lithnet/miis-powershell

New-MVQuery only supports 'text' Operators (Equals, Contains, NotContains, IsPresent, IsNotPresent, StartsWith, EndsWith)

darrenjrobinson opened this issue · 1 comments

Awesome tools. Very powerful.

Please add support for Integer Operators to New-MVQuery.
GreaterThan | GreaterThanOrEquals | LessThan | LessThanOrEquals

Also please add the following Operator
NotEquals

New-MVQuery : Cannot bind parameter 'Operator'. Cannot convert value "notequals" to type
"Lithnet.Miiserver.Client.MVSearchFilterOperator". Error: "Unable to match the identifier name notequals to a valid
enumerator name. Specify one of the following enumerator names and try again:
Equals, Contains, NotContains, IsPresent, IsNotPresent, StartsWith, EndsWith"
At line:1 char:52

DR

Hi Darren,

Thanks for the feedback. I'm glad your finding the tools useful.

I'd love to add support for those, and I agree it feels like a big omission. But we are limited by the options presented by the sync engine. Basically what you see in the UI is all I can expose via PowerShell, as we share the same underlying library.

image

If someone requests a feature change from Microsoft and they add it in as a UI option, I can expose it using the PowerShell module.

Ryan