you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 9 months ago

Couple of little additions that you might like.

You can expand properties using foreach-object as well. Eg

Get-childitem | foreach-object name

If you specify a method name instead of a property, it will call the method on the input object.

You can also inspect types using [typename].getmembers() to list properties and methods without having to create an instance for get-member.

  • source