Skip to content

Commit

Permalink
Merge pull request #1782 from microsoft/dpaul-HcDev
Browse files Browse the repository at this point in the history
Set object type to array so .Count works
  • Loading branch information
dpaulson45 authored Jul 31, 2023
2 parents be2b050 + 2079571 commit fb01fbb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ begin {
$rpcNullServers = New-Object 'System.Collections.Generic.List[string]'
$canNotConfigure = "Therefore, we can not configure Extended Protection."
$counter = 0
$totalCount = $ExchangeServers.Count
$totalCount = @($ExchangeServers).Count
$outlookAnywhereCount = 0
$outlookAnywhereServers = @($ExchangeServersPrerequisitesCheckSettingsCheck | Where-Object { $_.IsClientAccessServer -eq $true })
$outlookAnywhereTotalCount = $outlookAnywhereServers.Count
Expand Down

0 comments on commit fb01fbb

Please sign in to comment.