ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    What Are You Doing Right Now

    Water Closet
    time waster
    285
    88.9k
    41.4m
    Loading More Posts
    • 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.
    • jmooreJ
      jmoore @scottalanmiller
      last edited by

      @scottalanmiller I need some warm choco chip cookies and a big glass of cold milk

      valentinaV 1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller @Obsolesce
        last edited by scottalanmiller

        @Obsolesce said in What Are You Doing Right Now:

        I don't notice a speed difference when done properly.

        People say this, but consistently PowerShell can't respond that fast. It's just slow. No matter how you cut it. Just launch a command remotely and time it. You say "properly", but if PowerShell doesn't work on Windows as Microsoft deploys it, could their being a stronger statement about how badly it is designed?

        What "proper" deployment of PowerShell is needed to work it work competitively?

        BASH works well, right out of the box, on every OS. No need for "proper" setups to make it function in a way that the creators weren't able to do.

        ObsolesceO 1 Reply Last reply Reply Quote 1
        • valentinaV
          valentina @jmoore
          last edited by

          @jmoore same here! Bring them over @scottalanmiller

          1 Reply Last reply Reply Quote 0
          • ObsolesceO
            Obsolesce @scottalanmiller
            last edited by

            @scottalanmiller said in What Are You Doing Right Now:

            What "proper" deployment of PowerShell is needed to work it work competitively?

            Proper scripting, using efficient and/or correct cmdlets, not piping in needless circles...

            I really depends on what you are trying to do. It's not always technically apples to apples. You may run one line in BASH for some purpose, and then compare it to directly to how it's done on PowerShell, when perhaps you wouldn't do it in the first place, or in practice not in the same way.

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @Obsolesce
              last edited by

              @Obsolesce said in What Are You Doing Right Now:

              Proper scripting, using efficient and/or correct cmdlets, not piping in needless circles...

              I'm talking about running a single command. Just like asking the uptime. No scripts, just the time it takes for the shell to set up, execute and be done. We do that 98% of the time that we run any shell and PS doesn't stand up to any other shell. Running stuff locally takes longer than running things remotely on any other shell.

              ObsolesceO 1 Reply Last reply Reply Quote 0
              • WrCombsW
                WrCombs
                last edited by

                It's roughly 27 degrees Celsius right now
                beautiful day out side. I'm gonna go spend the day with my son playing out and about now.

                1 Reply Last reply Reply Quote 1
                • ObsolesceO
                  Obsolesce @scottalanmiller
                  last edited by Obsolesce

                  @scottalanmiller said in What Are You Doing Right Now:

                  @Obsolesce said in What Are You Doing Right Now:

                  PowerShell (Core) for managing Windows from Linux.

                  Having tried it both ways, using Bash on Linux to reduce the overhead of PS is a big benefit to adding it into the mix.

                  PS has some nice stuff, but it's like "Windows seems hard because of PS, but PS seems to deal with it well." But at the end of the day, most of Windows issues seem to be intentionally being extra hard, then making extra hard solutions to justify it. How much of Windows needing the overhead of PowerShell is caused by Windows having PowerShell and wanting it to seem reasonable to have designed it like they did? So a circular problem of PowerShell is hard and we need to justify it by making Windows hard, Windows is now harder and we need PowerShell, and so on.

                  It really just depends on your use case. Linux and Windows are used differently.

                  1 Reply Last reply Reply Quote 0
                  • ObsolesceO
                    Obsolesce @scottalanmiller
                    last edited by

                    @scottalanmiller said in What Are You Doing Right Now:

                    @Obsolesce said in What Are You Doing Right Now:

                    Proper scripting, using efficient and/or correct cmdlets, not piping in needless circles...

                    I'm talking about running a single command. Just like asking the uptime. No scripts, just the time it takes for the shell to set up, execute and be done. We do that 98% of the time that we run any shell and PS doesn't stand up to any other shell. Running stuff locally takes longer than running things remotely on any other shell.

                    Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

                    You have an example of something someone would typically do on both Linux and Windows equally where it's much faster in BASH?

                    scottalanmillerS 2 Replies Last reply Reply Quote 0
                    • dbeatoD
                      dbeato @EddieJennings
                      last edited by

                      @EddieJennings said in What Are You Doing Right Now:

                      @hobbit666 said in What Are You Doing Right Now:

                      @dbeato said in What Are You Doing Right Now:

                      Yeah, the annoying part is
                      125914b4-fcb5-44c4-8ad8-7c1f093f10d7-image.png

                      Luckily they show on our supplier website
                      The Dell X1052p £600

                      I never used the X-Series, but whatever the series was right before it seemed like it was solid.

                      It was PowerConnect which were solid and still some running for me.

                      wrx7mW 1 Reply Last reply Reply Quote 2
                      • wrx7mW
                        wrx7m @dbeato
                        last edited by wrx7m

                        @dbeato said in What Are You Doing Right Now:

                        @EddieJennings said in What Are You Doing Right Now:

                        @hobbit666 said in What Are You Doing Right Now:

                        @dbeato said in What Are You Doing Right Now:

                        Yeah, the annoying part is
                        125914b4-fcb5-44c4-8ad8-7c1f093f10d7-image.png

                        Luckily they show on our supplier website
                        The Dell X1052p £600

                        I never used the X-Series, but whatever the series was right before it seemed like it was solid.

                        It was PowerConnect which were solid and still some running for me.

                        Yeah, I still have 2 running. There is a location that some cables were run long before my time that has a powerconnect 5548P and it is uplinked to another one in the server room. I have 5 drops left to replace, before I can get rid of both.

                        Edit- My main switches are Extreme XG450 G2 Summit switches, configured in a stack.

                        1 Reply Last reply Reply Quote 1
                        • scottalanmillerS
                          scottalanmiller @Obsolesce
                          last edited by

                          @Obsolesce said in What Are You Doing Right Now:

                          Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

                          It's not instant. Are you sure you didn't spend time getting PS up and running first, THEN time only the command after all the time was already spent?

                          ObsolesceO 1 Reply Last reply Reply Quote 0
                          • scottalanmillerS
                            scottalanmiller @Obsolesce
                            last edited by

                            @Obsolesce said in What Are You Doing Right Now:

                            You have an example of something someone would typically do on both Linux and Windows equally where it's much faster in BASH?

                            I know of not task that doesn't work this way. But uptime is a perfect example.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              BTW... "Get-Uptime" isn't found on Windows 10 1809 fresh install.

                              dbeatoD 1 Reply Last reply Reply Quote 1
                              • scottalanmillerS
                                scottalanmiller
                                last edited by

                                Speed of uptime on Linux. This is bash calling SSH calling bash...

                                ssh2bash_uptime.gif

                                One second. Most of that time is used to set up SSH, nothing to do with Bash.

                                ObsolesceO 1 Reply Last reply Reply Quote 0
                                • dbeatoD
                                  dbeato @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in What Are You Doing Right Now:

                                  BTW... "Get-Uptime" isn't found on Windows 10 1809 fresh install.

                                  IT is a script that needs to be downloaded 😞
                                  https://gist.githubusercontent.com/morisy/8aa34f4ba0beaf8eef1b9224c616e041/raw/4644b875e9e5393f25b0fe79e24129eec5654f7e/Get-Uptime.ps1

                                  1 Reply Last reply Reply Quote 0
                                  • ObsolesceO
                                    Obsolesce @scottalanmiller
                                    last edited by

                                    @scottalanmiller said in What Are You Doing Right Now:

                                    @Obsolesce said in What Are You Doing Right Now:

                                    Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

                                    It's not instant. Are you sure you didn't spend time getting PS up and running first, THEN time only the command after all the time was already spent?

                                    No, I did the exact same thing I'd have done on a Linux GUI....

                                    1. Click on PowerShell on the task bar to open it up. (keybind would work too)
                                    2. Typed in Get-Uptime -Since, hit enter.
                                    3. Maybe I saved a little time typing with PowerShell because of tab-completion. I only typed get-up <tab> -<tab> then enter.
                                    dbeatoD 1 Reply Last reply Reply Quote 0
                                    • dbeatoD
                                      dbeato @Obsolesce
                                      last edited by

                                      @Obsolesce said in What Are You Doing Right Now:

                                      @scottalanmiller said in What Are You Doing Right Now:

                                      @Obsolesce said in What Are You Doing Right Now:

                                      Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

                                      It's not instant. Are you sure you didn't spend time getting PS up and running first, THEN time only the command after all the time was already spent?

                                      No, I did the exact same thing I'd have done on a Linux GUI....

                                      1. Click on PowerShell on the task bar to open it up. (keybind would work too)
                                      2. Typed in Get-Uptime -Since, hit enter.
                                      3. Maybe I saved a little time typing with PowerShell because of tab-completion. I only typed get-up <tab> -<tab> then enter.

                                      Weird,
                                      a1edcda7-259d-41f9-8ce3-53a38c01d75a-image.png

                                      ObsolesceO 1 Reply Last reply Reply Quote 0
                                      • ObsolesceO
                                        Obsolesce @dbeato
                                        last edited by

                                        @dbeato said in What Are You Doing Right Now:

                                        @Obsolesce said in What Are You Doing Right Now:

                                        @scottalanmiller said in What Are You Doing Right Now:

                                        @Obsolesce said in What Are You Doing Right Now:

                                        Like what? I did a Get-Uptime cmd and it was instant. If it was any faster, I wouldn't notice.

                                        It's not instant. Are you sure you didn't spend time getting PS up and running first, THEN time only the command after all the time was already spent?

                                        No, I did the exact same thing I'd have done on a Linux GUI....

                                        1. Click on PowerShell on the task bar to open it up. (keybind would work too)
                                        2. Typed in Get-Uptime -Since, hit enter.
                                        3. Maybe I saved a little time typing with PowerShell because of tab-completion. I only typed get-up <tab> -<tab> then enter.

                                        Weird,
                                        a1edcda7-259d-41f9-8ce3-53a38c01d75a-image.png

                                        @Obsolesce said in What Are You Doing Right Now:

                                        @EddieJennings said in What Are You Doing Right Now:

                                        @Obsolesce said in What Are You Doing Right Now:

                                        @scottalanmiller said in What Are You Doing Right Now:

                                        @black3dynamite yeah, PowerShell is still stuck in like 1982 here.

                                        No, I think all of you are stuck in 1982 while PowerShell has moved on...

                                        a21658d1-25a9-4708-9463-bb57020fc88c-image.png

                                        Unless there's a bleeding-edge version of Powershell out now that has that cmdlet, it doesn't seem to be native for 5.1.

                                        I know there's a module out there that does what your picture shows, but it would be nice if that was just baked-in.

                                        No, nothing new or fancy... just plain old PS6:

                                        c96854f2-bfba-41d6-8c9d-8d0d5c4adb64-image.png

                                        dbeatoD 1 Reply Last reply Reply Quote 0
                                        • ObsolesceO
                                          Obsolesce @scottalanmiller
                                          last edited by Obsolesce

                                          @scottalanmiller said in What Are You Doing Right Now:

                                          Speed of uptime on Linux. This is bash calling SSH calling bash...

                                          ssh2bash_uptime.gif

                                          One second. Most of that time is used to set up SSH, nothing to do with Bash.

                                          I can do that exact same thing in PowerShell on Win10 now that SSH works by default 🙂

                                          word for word... letter for letter.... in PowerShell.

                                          scottalanmillerS 1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller @Obsolesce
                                            last edited by

                                            @Obsolesce said in What Are You Doing Right Now:

                                            I can do that exact same thing in PowerShell on Win10 now that SSH works by default
                                            word for word... letter for letter.... in PowerShell.

                                            I've been ABLE to do it for a while. It's the speed that isn't there. We use PowerShell over SSH every day (until a few weeks ago when PS totally broke and our long standing processes all failed because Windows didn't keep PS consistent.) But it is still crazy slow compared to any other platform. Certainly an improvement, joining us with late 1990s technology. But it doesn't address the speed issue.

                                            ObsolesceO 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3542
                                            • 3543
                                            • 3544
                                            • 3545
                                            • 3546
                                            • 4443
                                            • 4444
                                            • 3544 / 4444
                                            • First post
                                              Last post