How to use Pipelining of CMDlets in c# RRS feed

  • Question

  • Hi all,

             I am just going through the powershell in Win7 , What i want to do is that i run the command say Get-MailBox on Powershell it is succesfully showing me the results the same thing i implement in c# using PowerShell class.

            Now what i want to do is that i executed command in the Powershell say Get-MailBox | Get -MailBoxStatistics this will also run and showing me the PSObjects as results.My Question is How i can implemet this command in c#. 




    Tuesday, April 23, 2013 4:07 PM