by aembleton · 10y ago · 0 comments
Is it possible for Powershell to output the object as JSON so that you can see what you can read from the object?
At that point, I either know the name of the method I'm looking for or I don't. In the first case the conversion to JSON doesn't do me any good because I can just call the method directly using `object.method(value)`. In the second case, it doesn't do any good because I don't know the method I want.
Reflection looks more like this: http://stackoverflow.com/questions/9952391/use-get-member-fo...
dir | ConvertTo-Html
dir | ConvertTo-Xml
dir | ConvertTo-Csv