From 8849345591f929a7ec343df185ee6892ae7d68f5 Mon Sep 17 00:00:00 2001 From: Shawn Melton <11204251+wsmelton@users.noreply.github.com> Date: Wed, 27 Oct 2021 10:42:20 -0500 Subject: [PATCH] Search-TssEventPipeline - correct PipelineName filter not working --- src/functions/event-pipeline/Search-TssEventPipeline.ps1 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/functions/event-pipeline/Search-TssEventPipeline.ps1 b/src/functions/event-pipeline/Search-TssEventPipeline.ps1 index ffbd1952..9f44d2a5 100644 --- a/src/functions/event-pipeline/Search-TssEventPipeline.ps1 +++ b/src/functions/event-pipeline/Search-TssEventPipeline.ps1 @@ -40,7 +40,6 @@ function Search-TssEventPipeline { $PipelinePolicyId, # Event Pipeline Name - [Parameter()] [string] $PipelineName, @@ -75,7 +74,7 @@ function Search-TssEventPipeline { $filters = @() switch ($tssParams.Keys) { 'PipelineId' { $filters += "filter.eventPipelineId=$PipelineId" } - 'PolicyName' { $fiters += "filter.eventPipelinePolicyName=$PolicyName" } + 'PipelineName' { $filters += "filter.eventPipelineName=$PipelineName" } 'EventEntityType' { $filters += "filter.eventEntityTypeId=$EventEntityType"} 'IncludeInactive' { $filters += "filter.includeInactive=$([boolean]$IncludeInactive)" } 'ExcludeActive' { $filters += "filter.includeActive=$([boolean]$ExcludeActive)" }