Skip to content

Commit

Permalink
Make sure the return results is an array to allow .Count to work
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaulson45 committed Jul 19, 2023
1 parent 42e36f3 commit 9b38ef4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ begin {
$counter = 0
$totalCount = $ExchangeServers.Count
$outlookAnywhereCount = 0
$outlookAnywhereServers = $ExchangeServersPrerequisitesCheckSettingsCheck | Where-Object { $_.IsClientAccessServer -eq $true }
$outlookAnywhereServers = @($ExchangeServersPrerequisitesCheckSettingsCheck | Where-Object { $_.IsClientAccessServer -eq $true })
$outlookAnywhereTotalCount = $outlookAnywhereServers.Count

$progressParams = @{
Expand Down

0 comments on commit 9b38ef4

Please sign in to comment.