Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Power Shell without the complexity? Could be ...

Power Shell without the complexity? Could be ...

Scheduled Pinned Locked Moved The Lounge
comlinuxalgorithmstutorialquestion
28 Posts 16 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M MikeD 2

    whilst a lot of powershell stuff is self explanatory I only really use it via copy and paste as I cannot stand all that typing I have always thought that it was crying out to be implemented using a gui with autocomplete

    B Offline
    B Offline
    Bumchuckle
    wrote on last edited by
    #21

    PowerShell has had tab completion since at least version 2 (2009) which has got better over time. O.K. It's never been as good as Linux/Bash tab completion, but it is there :)

    1 Reply Last reply
    0
    • H honey the codewitch

      Does anyone actually like powershell? I avoid it like the plague. It's confusing, and I say that as someone that mucks about with bash on the regular - not exactly a paragon of syntactic rationality itself. Why can't people make an elephanting simple to use shell? If it needs to be able to do everything, make it "AI" assisted, like one of those old "expert systems" if you have to. Let it learn. And speaking of "AI", why the heck does my camera still name photos like IMG_2021_5_18.jpg or whatever when it knows it's a cat?

      Real programmers use butterflies

      B Offline
      B Offline
      Bumchuckle
      wrote on last edited by
      #22

      Personally, I love it. - It doesn't need compiling so I can see where I am going wrong installing (and I go wrong a lot :) ). - Modules are very similar to libraries that you would need to reference in your code in other languages, but work straight from the prompt once installed. - Said modules also allow one-line commands to get the information you need from a variety of different sources/application without writing your own function. Admittedly other scripting languages have a lot of these benefits, oh and I used to be a Windows Sysadmin so I am probably biased :laugh:

      1 Reply Last reply
      0
      • H honey the codewitch

        Does anyone actually like powershell? I avoid it like the plague. It's confusing, and I say that as someone that mucks about with bash on the regular - not exactly a paragon of syntactic rationality itself. Why can't people make an elephanting simple to use shell? If it needs to be able to do everything, make it "AI" assisted, like one of those old "expert systems" if you have to. Let it learn. And speaking of "AI", why the heck does my camera still name photos like IMG_2021_5_18.jpg or whatever when it knows it's a cat?

        Real programmers use butterflies

        D Offline
        D Offline
        dandy72
        wrote on last edited by
        #23

        I've grown to like PS. Passing data around in Bash is done purely with plain text strings, which to me means it's as brittle as it can get. PowerShell hangs on to actual objects with properties and methods, and can leverage many things from .NET, so I find working with it is somewhat similar to working with a debugger when I need to explore an object's properties and values as a process is running live. This is particularly valuable when I'm not familiar at all with some new object type. When I want to automate something and building an EXE is overkill, PS is pretty much my go-to solution.

        1 Reply Last reply
        0
        • R rnbergren

          Powershell isn't all that bad. At least it is readable by a semi decent normal non PS programmer. Bash. Oh heck if you don't have some actual working knowledge you have no idea what that means. I don't like writing powershell sometimes. But It does seem to work. I hate the -gt -eq signs. What the heck happened to > and = instead. But that is just me, and like all of us. I am weird.

          To err is human to really elephant it up you need a computer

          D Offline
          D Offline
          dandy72
          wrote on last edited by
          #24

          rnbergren wrote:

          hate the -gt -eq signs. What the heck happened to > and = instead

          I think this was done deliberately so a PS script could be dropped directly into something like an XML block or HTML with no change.

          R 1 Reply Last reply
          0
          • D dandy72

            rnbergren wrote:

            hate the -gt -eq signs. What the heck happened to > and = instead

            I think this was done deliberately so a PS script could be dropped directly into something like an XML block or HTML with no change.

            R Offline
            R Offline
            Rod Bergren
            wrote on last edited by
            #25

            probably. I still think it is stupid though.

            1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              Not heard of this before: How to create your first app with the free Windows 10 Power Automate - TechRepublic[^] but it looks kinda interesting. Either that or it spells a lot of extra (hopefully chargeable) support work come our way when the users hear about it ...

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!

              W Offline
              W Offline
              willichan
              wrote on last edited by
              #26

              I, and a couple of coworkers, installed and tried out the desktop Power Automate. We all came to the same conclusion. That is quite a bit of hassle to do something that Office's build-in macro functions and rules already do better. Money makes the world go round ... but documentation moves the money.

              1 Reply Last reply
              0
              • R rnbergren

                Powershell isn't all that bad. At least it is readable by a semi decent normal non PS programmer. Bash. Oh heck if you don't have some actual working knowledge you have no idea what that means. I don't like writing powershell sometimes. But It does seem to work. I hate the -gt -eq signs. What the heck happened to > and = instead. But that is just me, and like all of us. I am weird.

                To err is human to really elephant it up you need a computer

                E Offline
                E Offline
                englebart
                wrote on last edited by
                #27

                Because > is used for I/O redirection. < > | are at least consistent across most script languages

                1 Reply Last reply
                0
                • M MikeD 2

                  whilst a lot of powershell stuff is self explanatory I only really use it via copy and paste as I cannot stand all that typing I have always thought that it was crying out to be implemented using a gui with autocomplete

                  E Offline
                  E Offline
                  englebart
                  wrote on last edited by
                  #28

                  PowerShell ISE is the already present IDE for PS. That might help flatten the learning curve

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups