• UndefinedIsNotAFunction@programming.dev
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    1 year ago

    I really want to love the “everything is an object” of power shell but I just have zero uses for using a shell on windows. Granted, my windows usage is like 15 minutes a week most of the time, but still. I also can’t be bothered to use it for work because it’s exclusively Linux/linux-ish over there so it’s not worth bothering.

    Either way, I like the idea, can’t really justify figuring out the details.

    • DV8@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      1 year ago

      If you only have to use it 15 minutes every week it’s probably not worth getting to know.

      I work in a Windows shop, so I love everything being an object, most of the time. At least for the things that are worked out completely.

      It’s great for things you need to iterate or just for figuring out what you can do by piping a result to get-member. If you are interested in getting better at powershell at some point, I highly recommend Powershell in a month of lunches. (Also because I like Manning’s model where they automatically offer the digital versions of books they sell, and also offering free previews of the entire book, given enough time)

    • ______@lemm.ee
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      “But PS is open source ! Don’t you want to use it in Linux and MacOS?” - Microsoft probably

      • wizardbeard@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        It’s a wonderful tool for me in a Windows environment/shop, especially with how it works well with all the Windows and Microsoft administration systems/tools we use.

        Personally, I’m less interested in any language’s hypothetical merits than how it fits as a tool for what I need to accomplish and ease of future maintenance when the script/program/automation inevitably needs to be adjusted.

        All that said, I can’t think of a legitimate reason to use PSCore on non-Windows hardware unless you’re just really familiar with PS and literally nothing else. Even then you’re better off taking time learning a better tool for that environment.

        • ______@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          That’s a very good point. My angle is as a dev and not as IT or sys admin. Power shell is probably far more powerful in those circles.