Expanding the properties within properties

So far from what we have seen, two things are clear to us:

  1. An object output feels richer and makes using it easier.
  2. An object can have more objects within it.

We have handled the first point using the Select-Object cmdlet, wherein we picked only the objects properties that we needed, and omitted the rest. This recipe is designed to break down the second point for better understanding.

Let us step into this recipe with one thing in our mind: objects can contain objects within them, which in turn can contain more objects within them. To demonstrate this, we shall use the Get-Process cmdlet.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.85.76