bros i fucking love powershell so goddamn much bros

bros i fricking love powershell so goddamn much bros

Beware Cat Shirt $21.68

Rise, Grind, Banana Find Shirt $21.68

Beware Cat Shirt $21.68

  1. 3 weeks ago
    Anonymous

    I'm forced to use it for pipelines by other people I work with and I've always seen it as mediocre
    what's so good about it?

    • 3 weeks ago
      Anonymous

      Things are actually typed instead of "everything is a string" UNIX philosophy, it comes batteries included with support for manipulating XML, JSON, CSV etc. and you have access to the entirety of the .NET standard library if the situation calls for it. The syntax is verbose but it also means that scripts you write with it are readable and understandable when you come back to them 2 years later. Tab completion makes commands and arguments easy to discover.

      Don't get me wrong, it is absolute and utter cancer at first but once you learn to tardwrangle it it is the most comfy shell scripting experience. bashbros don't know what they are missing

      • 3 weeks ago
        Anonymous

        >comfy
        It is absolute cancer as Windows, powershell and cmd are the worst when you need consistent encoding due to non-ascii characters. I'd rather shoot myself than having to deal with powershell UTF-16LE and BOM bullshit.

      • 3 weeks ago
        Anonymous

        >Don't get me wrong, it is absolute and utter cancer at first but once you learn to tardwrangle it it is the most comfy shell scripting experience. bashbros don't know what they are missing
        This was exactly my experience too.
        There's this awful, miserable, brainfrick tier learning curve at first but eventually you reach a point where going back to bash feels awful and antiquated.

        Side note: If I wasnt forced to use it for work, I never would've had the motivation to keep using it long enough to learn it so I understand why most people balk at the idea of switching from what they are already familiar with.

      • 3 weeks ago
        Anonymous

        it was actually made to be used unlike bash cancer. you get autocomplete suggestions while typing, you can press ctrl + space to get all autocomplete options (pic related) and many more features that does not exist on bash

        bash is really quick on the command prompt, this shit is worse than python and unusable on the prompt.
        this is literally the "YOU HAVE TO USE IT" product that everybody hate

    • 3 weeks ago
      Anonymous

      it was actually made to be used unlike bash cancer. you get autocomplete suggestions while typing, you can press ctrl + space to get all autocomplete options (pic related) and many more features that does not exist on bash

  2. 3 weeks ago
    Anonymous

    > not gonna use Linux because of the terminal
    > daddy Gates gave me powershell so good

    Really?

    • 3 weeks ago
      Anonymous

      These days, people don't choose not to use Linux because of the terminal in the workplace. It's because it has fricking zero manageability features built in. GPO? Nope. MDM? Nope. Standardized desktop to make deployment and troubleshooting easier? Nope. A distro that even wants to try to support this? None in sight. That's why Windows is still king in enterprise and will be forever. Macs and Linux hate having management utilities for some reason.

      • 3 weeks ago
        Anonymous

        Macs have had more robust management capabilities than Windows for like a decade at this point.

  3. 3 weeks ago
    Anonymous

    coomshell

  4. 3 weeks ago
    Anonymous

    I like it too. I'm hoping they will move Powershell 7 to being built in to Windows 11/12 etc so I can actually use its new features. I work for an MSP so most of our clients do not have PS7 installed and we are stuck with using standard Windows Powershell.

  5. 3 weeks ago
    Anonymous

    As always, use the best tool for the job. Powershell is a far better shell than bash for most of the situations you'd want them. Everything is an object. Objects get pushed through pipes. Receiving cmdlets can automatically map object members to parameters. It's extremely convenient and nice to work with. No longer need to do constant string manipulation.

    The tradeoff with everything being an object is the speed and memory footprint. If you actually have a lot of data to work with, bash or some actual programming is probably a better idea, but for most of the work I'm doing in a shell the time I save with better tooling is far more efficient.

  6. 3 weeks ago
    Anonymous

    I startet learning powershell last summer.
    I didn't use any other shell extensively before so I went in with no expectations.
    Here's my verdict:
    Having everything be objects instead of plain text is just as often a nuisance as it is a conveinience.
    Having everything be incredibly verbose is also a significant hinderance.
    API's are often very moronic and not designed to be composable, altought this is parcially because CLI stuff on windows is generally moronic.
    I often reach for windows ports of linux cli utils because they're just that much less of a hassle to use.

    Because powershell deals with objects and not text, integration with native tools is often more of a nuisiance.
    All languages can do IO streams and text. Only Powershell/.NET stuff can deal with .NET objects.
    Powershell not replacing the default cmd shell on windows when it came out, is all you need to know about powershell.

  7. 3 weeks ago
    Anonymous

    said every Indian ever

  8. 3 weeks ago
    Anonymous

    Yeah I've been learning it a bit by asking CGPT for stuff to copypaste :^)

  9. 3 weeks ago
    Anonymous

    Windows is so shit that you might as well learn how to use the command line.
    I would argue getting back an object is the biggest flaw of powershell but, it's not like you cannot tostring it.

  10. 3 weeks ago
    Anonymous

    >CaPitaLiZaTiOn-uP-tHe-AsS

    How can anyone do this to themselves?

    • 3 weeks ago
      Anonymous

      powershell is case insensitive

  11. 3 weeks ago
    Anonymous

    to be honest, i can't say ive ever felt particularly limited by bash. and if i ever need anything more complicated than strings and loops, i write a python script.

Your email address will not be published. Required fields are marked *