How to handle the scenario of calling Exchange Server 2010 Commandlets and powershell commandlets in C# ??
Exchange Commandlets require remote runspace to be created for them to run. By doing so, we will not able to run powershell commandlets like "Where-Object" in the same runspace.
Creating a local runspace would enable us to execute powershell commandlets and not Exchange 2010 commandlets.
We can maintain separate runspaces, one local runspace to run powershell commandlets and one remote runspace to run Exchange 2010 COmmandlets.
But, How to execute a pipeline of Exchange 2010 commandlets and powershell commandlets like this: "Get-ExchangeServer | Select-Object Name" ??