Conectați-vă cu Microsoft
Conectați-vă sau creați un cont
Salut,
Selectați un alt cont.
Aveți mai multe conturi
Alegeți contul cu care doriți să vă conectați.
Engleză
Ne pare rău. Acest articol nu este disponibil în limba dvs.

Symptoms

The Export-ModernPublicFolderStatistics.ps1 script doesn’t work in Microsoft Exchange Server 2019, and you receive an error message that resembles the following:

2222.png

Resolution

To fix this issue, install the Cumulative Update 5 for Exchange Server 2019 or a later cumulative update for Exchange Server 2019.​

References

Learn about the  terminology that Microsoft uses to describe software updates.

Workaround

To work around this issue, update the script with below changes:

$script:Exchange16MajorVersion = 15;

$script:Exchange16MinorVersion = 1;

$script:Exchange16CUBuild = 669;

$script:Exchange17MajorVersion = 15;

$script:Exchange17MinorVersion = 2;

$script:Exchange17CUBuild = 196;


And

$hasMinE16Version = (($version.Major -eq $script:Exchange16MajorVersion) -and

($version.Minor -eq $script:Exchange16MinorVersion) -and

($version.Build -ge $script:Exchange16CUBuild));

$hasMinE17Version = (($version.Major -eq $script:Exchange17MajorVersion) -and

($version.Minor -eq $script:Exchange17MinorVersion) -and

($version.Build -ge $script:Exchange17CUBuild));

if (!$hasMinE15Version -and !$hasMinE16Version -and !$hasMinE17Version)

{

$failedServers += $server.Fqdn;
}

Aveți nevoie de ajutor suplimentar?

Doriți mai multe opțiuni?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Au fost utile aceste informații?

Ce v-a afectat experiența?
Apăsând pe Trimitere, feedbackul dvs. va fi utilizat pentru a îmbunătăți produsele și serviciile Microsoft. Administratorul dvs. IT va avea posibilitatea să colecteze aceste date. Angajamentul de respectare a confidențialității.

Vă mulțumim pentru feedback!

×