Exchange 2010: Management Shell does not connect

Every now and then something new, today the Exchange Management Shell under Exchange 2010 gave me this error:

1

Warning: Export modules for the current session cannot be generated using Import-PSSession.

The red error message also contained a path, but I have blacked it out. The solution to the problem is to delete the corresponding folder under the following directory:

%appdata%\Microsoft\Exchange\RemotePowerShell

In this directory there are subfolders with the corresponding server names. Simply remove the faulty directory and restart the shell.

2

And lo and behold, it's up and running again.

3

1 thought on “Exchange 2010: Management Shell verbindet sich nicht”

  1. Hallo Frank,
    der Beitrag ist zwar schon fast 10 Jahre alt, aber das Phänomen hatte ich jetzt auf einen 2019er Exchange nur ohne die rote Beschreibung.
    Das Verzeichnis %appdata%\Microsoft\Exchange\RemotePowerShell war bei mir leer.
    Nach dem ich von dem zweiten Server das Verzeichnis kopiert hatte war der Fehler weg.
    Die Gegenprobe, die Dateien aus dem Ordner löschen und nur den Ordner mit dem FQDN des Exchangeservers als Namen stehen lassen, behob den Fehler ebenfalls.
    Wahrscheinlich ist eine der 3 Dateien korrupt.
    LG
    Heiko

    Reply

Leave a Comment