1

I am trying to manage an exchange server (2013) I learned that directly loading PSSnapin for Exchange into a powershell is not the supported way and that I should use RS-Remoting like this

$session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri "http://exchangeserver.domain.local/powershell" -Authentication Kerberos Import-PSSession $session

But when I connect to the exchange-server like that almost every object get serialized into string :/ Methods of objects (e.g. Database.DatabaseSize.ToBytes()) are not callable anymore, because serialization lost that information.

How can I use the full EMS in a remote powershell ? Is that even possible ?

0

I remember having similar issues with Exchange 2010 and all I could find was a forum posting saying that certain functionalities were not implemented in remote Exchange powershell. On the documentation for Exchange 2016 it recommends installing the management tools locally.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.