Get-DSEntry with exact FilterValue

Implemented

Get-DSEntry with exact FilterValue

avatar

It looks like getting an entry with Get-DSEntry with FilterValue, does always return wildcard matches.
So
-FilterValue myserver
is treated like
-FilterValue *myserver*

If I search for myserver1, it will also return myserver10, myserver 11, notmyserver1, etc.

Is there any way to make FilterValue match the exact string?

All Comments (3)

avatar

Hello,

It is not currently possible to search with an exact string, I will open an internal ticket so it can be investigated.

Best regards,

Richard Boisvert

avatar

Hello,

A new release for the Devolutions Server PowerShell module is now available: https://github.com/Devolutions/devolutions-server/releases/tag/2022.1.10.1

The following was added:
Improvement on Get-DSEntry filter:

  • Can now query for
    • Exact match
    • Starts with
    • Ends with
    • Contains (Default)


It should be available in the PowerShell Gallery shortly.

Best regards,

Richard Boisvert

avatar

Awesome! Thank you!

Do you know when it will be available on powershellgallery?