How to switch Exchange Server PowerShell from NoLanguage mode to FullLanguage mode

SQLNeophyte 1 Reputation point
2021-06-16T05:43:37.927+00:00

I am using Remote PowerShell to communicate with a remote exchange server. But after installing the security update Security update for Microsoft Exchange Server 2019, 2016, and 2013: April 13, 2021 (KB5001779), the PowerShell language mode on the server has been changed to NoLanguage mode. As a result, I cannot execute PS scripts as I did previously. Is there any way (Configuration/Settings/Command) to change the language mode back to FullLanguage?

Windows for business | Windows Server | User experience | PowerShell
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 86,086 Reputation points
    2021-06-16T05:53:52.107+00:00

    Hi @SQLNeophyte ,

    Something here might help:

    “The syntax is not supported by this runspace” error after installing April 2021 Exchange security update (or later updates)
    https://support.microsoft.com/en-us/topic/-the-syntax-is-not-supported-by-this-runspace-error-after-installing-april-2021-exchange-security-update-or-later-updates-ac2d4e97-62f6-4ad4-9dbb-0ade9b79f599

    ----------

    If the reply was helpful please don't forget to upvote and/or accept as answer, thank you!

    Best regards,
    Leon

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.