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.
  • OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #1

    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!

    "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

    D S H M W 5 Replies 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!

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

      OriginalGriff wrote:

      Either that or it spells a lot of extra (hopefully chargeable) support work come our way when the users hear about it ...

      Yeah - as soon as users try to do something that deviates from the simplest scenarios. Then you're back to writing a real app.

      pkfoxP 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!

        S Offline
        S Offline
        SeanChupas
        wrote on last edited by
        #3

        Power Automate is part of their low code/no code platform. I have looked at it but have not done much with it yet.

        1 Reply Last reply
        0
        • D dandy72

          OriginalGriff wrote:

          Either that or it spells a lot of extra (hopefully chargeable) support work come our way when the users hear about it ...

          Yeah - as soon as users try to do something that deviates from the simplest scenarios. Then you're back to writing a real app.

          pkfoxP Offline
          pkfoxP Offline
          pkfox
          wrote on last edited by
          #4

          :thumbsup:

          "I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP

          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!

            H Offline
            H Offline
            honey the codewitch
            wrote on last edited by
            #5

            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

            P P L OriginalGriffO pkfoxP 10 Replies 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

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #6

              A plague, yes. The only time I had to dabble with PowerShell (ptui) it was because a colleague had sent me a small script to run to demonstrate something. I quickly took the ideas and wrote a proper C# program to do it better/quicker/etc. In that way, it may be that the PowerShell (ptui) script was just enough to pass along the necessary information I needed. Lately, I've begun to wonder whether or not PowerShell (ptui) and Python (ptui ptui) serve the same role. Both seem to be glue languages with little they can do natively, but the user is expected to import functionality written in proper programming languages.

              H 1 Reply Last reply
              0
              • P PIEBALDconsult

                A plague, yes. The only time I had to dabble with PowerShell (ptui) it was because a colleague had sent me a small script to run to demonstrate something. I quickly took the ideas and wrote a proper C# program to do it better/quicker/etc. In that way, it may be that the PowerShell (ptui) script was just enough to pass along the necessary information I needed. Lately, I've begun to wonder whether or not PowerShell (ptui) and Python (ptui ptui) serve the same role. Both seem to be glue languages with little they can do natively, but the user is expected to import functionality written in proper programming languages.

                H Offline
                H Offline
                honey the codewitch
                wrote on last edited by
                #7

                much like VB of old (and perhaps where VB should have stayed)

                Real programmers use butterflies

                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

                  P Offline
                  P Offline
                  Peter Adam
                  wrote on last edited by
                  #8

                  It is simple compared to bash. See bash if: naked, parentheses, double parentheses, brackets, double brackets. Exporting variables, and using those in parent shells. bash is a tad more logical than cmd.exe is, but no match for powershell. Just try to use your date handling routines NOT in your locale.

                  H 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

                    L Offline
                    L Offline
                    Lorenzo Bertolino
                    wrote on last edited by
                    #9

                    As a REPL, I dislike its verbosity but for writing scripts it's fantastic compared to bash, so much simpler. Spacing around `=` is irrelevant instead of throwing weird errors. The if statement behaves like a programming language and does not have weird stuff like [[ ]] that changes something.. I never understood bash as a language. That being said, I miss quite some stuff from coreutils on windows.. and I just realized that Git installs them and just added `C:\Program Files\Git\usr\bin` to the path, so I don't actually miss them anymore

                    H 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

                      OriginalGriffO Offline
                      OriginalGriffO Offline
                      OriginalGriff
                      wrote on last edited by
                      #10

                      honey the codewitch wrote:

                      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?

                      To be honest, if your camera knows it's a cat, then it's confused already, and probably need AIchiatric help ...

                      "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!

                      "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

                      H 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

                        pkfoxP Offline
                        pkfoxP Offline
                        pkfox
                        wrote on last edited by
                        #11

                        I did try to like PS but failed, I also use bash for my Linux scripts and whilst they can be challenging I much prefer them to PS.

                        "I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP

                        1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          honey the codewitch wrote:

                          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?

                          To be honest, if your camera knows it's a cat, then it's confused already, and probably need AIchiatric help ...

                          "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!

                          H Offline
                          H Offline
                          honey the codewitch
                          wrote on last edited by
                          #12

                          you know what I meant! :laugh:

                          Real programmers use butterflies

                          1 Reply Last reply
                          0
                          • P Peter Adam

                            It is simple compared to bash. See bash if: naked, parentheses, double parentheses, brackets, double brackets. Exporting variables, and using those in parent shells. bash is a tad more logical than cmd.exe is, but no match for powershell. Just try to use your date handling routines NOT in your locale.

                            H Offline
                            H Offline
                            honey the codewitch
                            wrote on last edited by
                            #13

                            How come I had no trouble learning Bash then? and PS? No. I cannot remember the syntax at all.

                            Real programmers use butterflies

                            P 1 Reply Last reply
                            0
                            • L Lorenzo Bertolino

                              As a REPL, I dislike its verbosity but for writing scripts it's fantastic compared to bash, so much simpler. Spacing around `=` is irrelevant instead of throwing weird errors. The if statement behaves like a programming language and does not have weird stuff like [[ ]] that changes something.. I never understood bash as a language. That being said, I miss quite some stuff from coreutils on windows.. and I just realized that Git installs them and just added `C:\Program Files\Git\usr\bin` to the path, so I don't actually miss them anymore

                              H Offline
                              H Offline
                              honey the codewitch
                              wrote on last edited by
                              #14

                              I feel the exact opposite of you. I cannot remember PS syntax. It confounds me. Bash is no trouble.

                              Real programmers use butterflies

                              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!

                                M Offline
                                M Offline
                                MikeD 2
                                wrote on last edited by
                                #15

                                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 E 2 Replies Last reply
                                0
                                • H honey the codewitch

                                  How come I had no trouble learning Bash then? and PS? No. I cannot remember the syntax at all.

                                  Real programmers use butterflies

                                  P Offline
                                  P Offline
                                  Peter Adam
                                  wrote on last edited by
                                  #16

                                  Maybe because the basic syntax is quite similar (except the parentheses magic), and many command has bash-alias? So it was powershell looking as bash? :)

                                  H 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

                                    T Offline
                                    T Offline
                                    theoldfool
                                    wrote on last edited by
                                    #17

                                    I spent a few years managing Exchange (2012ish) and the GUI would produce, and show, the PS commands. Of course I memorized them all. :) Your camera shows that for the same reason my VHS recorder still blinks 12:00.

                                    If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.

                                    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

                                      R Offline
                                      R Offline
                                      rnbergren
                                      wrote on last edited by
                                      #18

                                      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 E 2 Replies 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

                                        J Offline
                                        J Offline
                                        John Godin
                                        wrote on last edited by
                                        #19

                                        Yeah, I like it. I'm an old timer - lots of bash. Once I finally got used to the idea that powershell wasn't bash I started to like it. (I made some hilarious mistakes on the way) Now sometimes in bash I find myself wishing for objects.

                                        1 Reply Last reply
                                        0
                                        • P Peter Adam

                                          Maybe because the basic syntax is quite similar (except the parentheses magic), and many command has bash-alias? So it was powershell looking as bash? :)

                                          H Offline
                                          H Offline
                                          honey the codewitch
                                          wrote on last edited by
                                          #20

                                          If the syntax was similar I'd have had no problem learning Powershell. Bash and Powershell syntax are quite different.

                                          Real programmers use butterflies

                                          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