증상
Export-ModernPublicFolderStatistics.ps1 스크립트는 Microsoft Exchange Server 2019에서 작동하지 않으며 다음과 유사한 오류 메시지가 나타납니다.
해결 방법
이 문제를 해결하려면 Exchange Server 2019용 누적 업데이트 5 또는 Exchange Server 2019용 이후 누적 업데이트를 설치합니다.
참조 자료
Microsoft에서 소프트웨어 업데이트를 설명하는 데 사용하는 용어에 대해 알아보세요.
해결 방법
이 문제를 해결하려면 아래 변경 내용으로 스크립트를 업데이트합니다.
$script:Exchange16MajorVersion = 15;
$script:Exchange16MinorVersion = 1;
$script:Exchange16CUBuild = 669;
$script:Exchange17MajorVersion = 15;
$script:Exchange17MinorVersion = 2;
$script:Exchange17CUBuild = 196;
And
$hasMinE 16Version = (($version. major -eq $script:Exchange16MajorVersion) -and
($version. minor -eq $script:Exchange16MinorVersion) -and
($version. build -ge $script:Exchange16CUBuild));
$hasMinE 17Version = (($version. Major -eq $script:Exchange17MajorVersion) -and
($version. minor -eq $script:Exchange17MinorVersion) -and
($version. build -ge $script:Exchange17CUBuild));
if (!$hasMinE 15Version -and !$hasMinE 16Version -and !$hasMinE 17Version)
{
$failedServers += $server. Fqdn;
}