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. PowerShell

PowerShell

Scheduled Pinned Locked Moved The Lounge
windows-adminquestiondiscussion
27 Posts 24 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.
  • R Rob Philpott

    I don't understand PowerShell, principally because its something I've always actively avoided. Looks nasty, but you can do some clever stuff with it so it seems. Some of my peers have this skill. I'm wondering if I should get to know it. Anybody here got any opinions good or bad?

    Regards, Rob Philpott.

    A Offline
    A Offline
    agibs
    wrote on last edited by
    #18

    I would say it's definitely worth learning. If you work with Continuous Delivery using Microsoft's tools then Powershell becomes very useful. We us it in this scenario often to execute scripts remotely on our servers for backups and various other functions.

    1 Reply Last reply
    0
    • R Rob Philpott

      I don't understand PowerShell, principally because its something I've always actively avoided. Looks nasty, but you can do some clever stuff with it so it seems. Some of my peers have this skill. I'm wondering if I should get to know it. Anybody here got any opinions good or bad?

      Regards, Rob Philpott.

      L Offline
      L Offline
      Lucas Vogel
      wrote on last edited by
      #19

      One thing to keep in mind is that they keep all their modules in GitHub, and they like to introduce breaking changes in major release versions. I once upgraded the Azure PS module on a build server and it broke VSTS because they decided to stop supporting a parameter VSTS used extensively in its infrastructure.

      1 Reply Last reply
      0
      • R Rob Philpott

        I don't understand PowerShell, principally because its something I've always actively avoided. Looks nasty, but you can do some clever stuff with it so it seems. Some of my peers have this skill. I'm wondering if I should get to know it. Anybody here got any opinions good or bad?

        Regards, Rob Philpott.

        S Offline
        S Offline
        sasadler
        wrote on last edited by
        #20

        The only time I ever used it was to 'really' remove Windows 10 Apps that were unistallable.

        1 Reply Last reply
        0
        • R Rob Philpott

          I don't understand PowerShell, principally because its something I've always actively avoided. Looks nasty, but you can do some clever stuff with it so it seems. Some of my peers have this skill. I'm wondering if I should get to know it. Anybody here got any opinions good or bad?

          Regards, Rob Philpott.

          R Offline
          R Offline
          Richard Givis
          wrote on last edited by
          #21

          PowerShell is awesome. Simply amazing. Easy to learn. Get a copy of Windows Powershell Programming for Absolute Beginners. You will learn it easily, and never look back at that ugly CMD Prompt again.

          1 Reply Last reply
          0
          • R Rob Philpott

            I don't understand PowerShell, principally because its something I've always actively avoided. Looks nasty, but you can do some clever stuff with it so it seems. Some of my peers have this skill. I'm wondering if I should get to know it. Anybody here got any opinions good or bad?

            Regards, Rob Philpott.

            R Offline
            R Offline
            Retired2017
            wrote on last edited by
            #22

            I have been a linux user since the late 90s. Whenever my arm was twisted to work on on a windows setting (all to often X| ) the first thing I always did was install cygwin on it before anything else. bash saved me from early insanity. I never looked at PowerShell, maybe I have missed something. Next time I'm young I'll try it, promise.

            F 1 Reply Last reply
            0
            • R Retired2017

              I have been a linux user since the late 90s. Whenever my arm was twisted to work on on a windows setting (all to often X| ) the first thing I always did was install cygwin on it before anything else. bash saved me from early insanity. I never looked at PowerShell, maybe I have missed something. Next time I'm young I'll try it, promise.

              F Offline
              F Offline
              firegryphon
              wrote on last edited by
              #23

              Is there really anything else ever needed if you have bash, awk, sed and grep?

              R 1 Reply Last reply
              0
              • F firegryphon

                Is there really anything else ever needed if you have bash, awk, sed and grep?

                R Offline
                R Offline
                Retired2017
                wrote on last edited by
                #24

                For miniscripts no, those will usually be sufficient. if not then python, perl, tcl... whatever.

                1 Reply Last reply
                0
                • R Rob Philpott

                  I don't understand PowerShell, principally because its something I've always actively avoided. Looks nasty, but you can do some clever stuff with it so it seems. Some of my peers have this skill. I'm wondering if I should get to know it. Anybody here got any opinions good or bad?

                  Regards, Rob Philpott.

                  S Offline
                  S Offline
                  Sekers
                  wrote on last edited by
                  #25

                  PowerShell works great once you learn its syntax and quirks. I've only had a few commands that don't transfer over exactly from the command prompt to powershell and all you need to do is type "cmd" in PowerShell go get the normal command line so it's not that big a deal that it's now the default in Windows. I highly recommend watching at least the first video in the Microsoft Virtual Academy on PowerShell to get an idea of the basics. Microsoft PowerShell Tutorial & Training Course – Microsoft Virtual Academy[^]

                  1 Reply Last reply
                  0
                  • S Stefan Schier

                    This is not true. You may use try-catch-blocks and also multi-threading. We created some powerful scripts here already. I agree that C# is smarter for developers. But I must admit that pipelining in PS is a very strong and useful mechanism.

                    S Offline
                    S Offline
                    sibling123
                    wrote on last edited by
                    #26

                    Also, it is possible to call C# from powershell.

                    1 Reply Last reply
                    0
                    • R Rob Philpott

                      I don't understand PowerShell, principally because its something I've always actively avoided. Looks nasty, but you can do some clever stuff with it so it seems. Some of my peers have this skill. I'm wondering if I should get to know it. Anybody here got any opinions good or bad?

                      Regards, Rob Philpott.

                      P Offline
                      P Offline
                      pmauriks
                      wrote on last edited by
                      #27

                      I used to find that I could do anything I wanted to do in Python, and more easily - but recently I've been working in a locked down environment without python, but with Powershell, so I've forced myself to learn. I initially found it odd to work with - but it is making more sense over time. Syntactically there are still some things I find quirky compared to for example Unix shell scripting. I'm a whiz at batch files . . . but now I'm finding that I use batch less than Powershell. . . so it must be growing on me. . . . and it does seem to be the future for Microsoft.

                      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