From 8a212417f507ee0a997ef9ac8635c493ab93aef2 Mon Sep 17 00:00:00 2001 From: Mathijs de Ruiter <33999622+EUCTechTopics@users.noreply.github.com> Date: Thu, 10 Apr 2025 14:11:36 +0200 Subject: [PATCH] Added 'present' to noValueOperators --- PSIdentityNow/Private/Test-IDNWFilter.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PSIdentityNow/Private/Test-IDNWFilter.ps1 b/PSIdentityNow/Private/Test-IDNWFilter.ps1 index f5e2d29..2710d5b 100644 --- a/PSIdentityNow/Private/Test-IDNWFilter.ps1 +++ b/PSIdentityNow/Private/Test-IDNWFilter.ps1 @@ -29,7 +29,7 @@ function Test-IDNWFilter { $operator = $Filter['operator'].ToLower() # Operators that don't require a 'value' - $noValueOperators = @('pr', 'isnull') + $noValueOperators = @('pr', 'present', 'isnull') if ($operator -in $noValueOperators) { if ($Filter.ContainsKey('value') -and $null -ne $Filter['value']) {