• purplemonkeymad
    link
    fedilink
    arrow-up
    3
    ·
    5 days 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.