Skip to content

Commit

Permalink
Group is null also with a 0 guid
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrola committed Oct 11, 2024
1 parent 422d565 commit 66d089e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function Get-TargetResource
$Group = Find-CsGroup -SearchQuery $GroupId -ExactMatchOnly $true -ErrorAction SilentlyContinue
}
else {
$GroupId = $null
$Group = $null
}
if ($null -eq $Group)
{
Expand Down

0 comments on commit 66d089e

Please sign in to comment.