• Tartas1995@discuss.tchncs.de
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    4 days ago

    The weirdest thing for me is when people complain about terminal when there is a meme how much easier it is to do something on Linux compared to windows or MacOS.

    Terminal is the easiest way to highlight that for a meme.

    • jj4211@lemmy.world
      link
      fedilink
      arrow-up
      6
      arrow-down
      2
      ·
      4 days ago

      Ironically, in Linux, if I ever see a Terminal, it’s because I opened it. If I’m doing stuff in GUI, terminals never pop up.

      In Windows, doing stuff in GUI a blank terminal opens up and goes away during GUI interaction, or while executing background tasks occasionally.

        • the_crotch@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          4 days ago

          It is really weird, yeah. Half the commands are actual sentences. Tbf most of the common ones have shorter aliases (test-netconnection -> tnc, clear-itemproperty -> clp, get-content -> cat, etc).

          The killer feature of PowerShell imo is the -WhatIf flag. I wish all shells had something like that, it’s fantastic for testing scripts without risk of damaging anything.

        • OfficerBribe@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          3 days ago

          I love its Verb-Noun system and verbose parameter names. It’s easy to understand what command or parameter does just by the name. Get-MailboxPermission probably retrieves mailbox permissions, Stop-Process stops process, Remove-ADUser deletes AD user etc. If there would be no auto complete I might find it irritating, but once you get a hang of it, it’s a breeze.

      • Tartas1995@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        4 days ago

        Ofc they do. But most users don’t use it at all. Even most windows admins (based on my experience) don’t know PowerShell which doesn’t mean they know how to use CMD.

        • the_crotch@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          4 days ago

          They must be some pretty shitty admins then. PowerShell is essential for managing more than a handful of windows boxes. If you’re running server core (which you should be in most cases) PowerShell and rsat are the only way to manage your boxes

          • OfficerBribe@lemm.ee
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            3 days ago

            Another example is Exchange where all Admin Center (GUI) operations are calling PS commands underneath. Not everything is in Admin Center so you must use PS eventually. Not to mention that you cannot perform batch tasks without scripting.

            • the_crotch@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              edit-2
              3 days ago

              Another example is boot or login scripts that run on all the servers/desktops to make environment changes you can’t handle with group policy. This person is talking nonsense, they don’t know any windows admins.

            • the_crotch@sh.itjust.works
              link
              fedilink
              arrow-up
              2
              ·
              4 days ago

              Sounds to me like they chose to be helpdesk. It’s nearly impossible to be a windows admin without using PowerShell, unless you’re super old school and use vbs for everything.