Skip to content

Commit

Permalink
change eq to match
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrola committed Dec 5, 2024
1 parent a3c4f63 commit 7320bbf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function Get-TargetResource

try
{
$environment = Get-AdminPowerAppEnvironment -ErrorAction Stop | Where-Object -FilterScript { $_.DisplayName -eq $DisplayName }
$environment = Get-AdminPowerAppEnvironment -ErrorAction Stop | Where-Object -FilterScript { $_.DisplayName -match $DisplayName }

if ($null -eq $environment)
{
Expand Down

0 comments on commit 7320bbf

Please sign in to comment.