Detailed description of PSObject layer

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of Engelbert Mosen Engelbert Mosen 3 years, 1 month ago.

  • Author
    Posts
  • #15027
    Profile photo of Engelbert Mosen
    Engelbert Mosen
    Participant

    Dear Community,
    I've question regarding "PSObject layer".

    Each Object which will be moved into a pipeline will be encapsulate by psobject in order to provide a consistent view of any object (e.g. .NET Object, WMI Object). So the .NET object, WMI object and COM object will be wrapped into an object adapter like .NET object adapter or WMI object adapter. This type adapter acts as an intermediary between the object and PowerShell.
    Is there a detailed description available how the internal powershell architecture works.

    Many thanks in advance.

  • #15028
    Profile photo of Dave Wyatt
    Dave Wyatt
    Moderator

    How much detail are you looking for? http://blogs.msdn.com/b/besidethepoint/archive/2011/11/22/psobject-and-the-adapted-and-extended-type-systems-ats-and-ets.aspx provides a good description of how things work, but it's not going down to the level of giving you .NET class names for the adapters or anything like that. (Assuming that those are even part of the public API, which I don't know, off the top of my head.)

  • #15039
    Profile photo of Engelbert Mosen
    Engelbert Mosen
    Participant

    Hi Dave, thanks a lot for providing this kind of description. I will look into....

You must be logged in to reply to this topic.