• Laurel Raven
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 days ago

    Funnily enough, I use PowerShell as my daily driver and I rarely ever use the Format verb cmdlets and think they need to stop teaching people to use them as much as they do… They’re only meant to modify how things are displayed, but in doing so, they trash the objects that were on the pipeline and replace them with formatting commands, and cause confusion when people try to do something with what they output

    The worst is using them to select properties, they should not have included that ability at all, that’s what the Select-Object cmdlet is for, which outputs usable objects

    Anyway, sorry for the rant… I just think those overall teach new users bad habits.