Detailed description of PSObject layer

Welcome Forums General PowerShell Q&A Detailed description of PSObject layer

This topic contains 2 replies, has 2 voices, and was last updated by

 
Participant
4 years, 6 months ago.

  • Author
    Posts
  • #15027

    Participant
    Points: 0
    Rank: Member

    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

    Member
    Points: 0
    Rank: Member

    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

    Participant
    Points: 0
    Rank: Member

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

The topic ‘Detailed description of PSObject layer’ is closed to new replies.