Skip to content

Fix to display the SDP status in E19#1431

Merged
lusassl-msft merged 1 commit into
mainfrom
lusassl-HCJan23SDPFix
Jan 11, 2023
Merged

Fix to display the SDP status in E19#1431
lusassl-msft merged 1 commit into
mainfrom
lusassl-HCJan23SDPFix

Conversation

@lusassl-msft
Copy link
Copy Markdown
Contributor

Issue:
Customers reporting that the Serialized Data Protection status is not displayed in Exchange 2019

Reason:
Wrong brackets used in switch statment:

Is:

        switch ($exchangeCU) {
            ( $_ -eq "CU12" ) { $serializedDataSigningSupportedBuild = ($exchangeBuild -ge "15.2.1118.21"); break }
            ( $_ -eq "CU11" ) { $serializedDataSigningSupportedBuild = ($exchangeBuild -ge "15.2.986.37"); break }
            default { $serializedDataSigningSupportedBuild = $false }
        }

Should:

        switch ($exchangeCU) {
            { $_ -eq "CU12" } { $serializedDataSigningSupportedBuild = ($exchangeBuild -ge "15.2.1118.21"); break }
            { $_ -eq "CU11" } { $serializedDataSigningSupportedBuild = ($exchangeBuild -ge "15.2.986.37"); break }
            default { $serializedDataSigningSupportedBuild = $false }
        }

Fix:
Use {} brackets.

Validation:
Lab

@lusassl-msft lusassl-msft added bug Something isn't working Health Checker labels Jan 11, 2023
@lusassl-msft lusassl-msft requested a review from a team as a code owner January 11, 2023 15:10
@lusassl-msft lusassl-msft merged commit 26f6742 into main Jan 11, 2023
@lusassl-msft lusassl-msft deleted the lusassl-HCJan23SDPFix branch January 11, 2023 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Health Checker P1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants