Hi @姚黎忠,
Check if you have enabled remote PowerShell access for the account you are using to connect to the Exchange server. If not, enable it by running the following command in PowerShell:
Set-User -Identity <username> -RemotePowerShellEnabled $true
And restart IIS (Internet Information Services) on your Exchange server.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.