I have a C# console application that outputs text. If the application is run from a PowerShell window I would like to output objects instead of text, so the objects may be consumed by cmdlets downstream in the pipeline.
- How would my app detect that it is running under PowerShell?
- How do I output objects to the pipeline?
-Brian
Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting. Blog at www.azius.com/blog