• purplemonkeymad@programming.dev
    Aquileo | link
    Aquileo | fedilink
    Aquileo | arrow-up
    3
    ·
    6 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.