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

    What Are You Doing Right Now

    Water Closet
    time waster
    285
    88.9k
    41.3m
    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.
    • scottalanmillerS
      scottalanmiller @DustinB3403
      last edited by

      @DustinB3403 said in What Are You Doing Right Now:

      I'm headed home for the day.

      Night all.

      Night, we just hired a new guy, too!

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

        @Obsolesce said in What Are You Doing Right Now:

        @DustinB3403 said in What Are You Doing Right Now:

        @Obsolesce said in What Are You Doing Right Now:

        oh, but it's there! You can get uptime in PowerShell 5.1, but it's more typing.

        That's more cumbersome. Who the hell wants to type more?

        Nobody, that's why scripting and automation exist! Which PowerShell does nicely.

        It does, no question there. If you are making really large scripts, it's a great tool. Especially if they are complex.

        And for large things, it is definitely better than Bash. But Linux doesn't use Bash for things that approach the "programming" line rather than the system admin line, that's not what a Shell is for. Technically Python, Ruby, Perl, and others are all shells, too, and are more robust and really good for enormous projects.

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

          @DustinB3403 said in What Are You Doing Right Now:

          Every time I actually use Powershell, I'm writing a script (usually because I don't want to run the process manually over and over).

          I probably would say that about my use of Bash, too. I do tiny scripting almost every time that I type. It's just that in bash doing so is so easy, I forget that I'm doing it.

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

            @Obsolesce said in What Are You Doing Right Now:

            @DustinB3403 said in What Are You Doing Right Now:

            The issue is MS not including things by default that are considered basic functionality anywhere else.

            oh, but it's there! You can get uptime in PowerShell 5.1, but it's more typing.

            The point was never that there wasn't a way to get it, but that there wasn't a way to get it without scripting it. No direct shell access. It has to be manipulated. But that's unrelated to the performance discussion.

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

              Construction on the NTG outdoor meeting space has begun (it is due for new lighting and all new paint this week.)

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

                @DustinB3403 said in What Are You Doing Right Now:

                But I don't need to write a script to pull the UPTIME

                No script needed to pull the uptime manually in PS either.

                But I'm sure most admins have better things to do than to manually pull the uptime of each device in the terminal individually. No idea why that's even a discussion. If you are doing that, something already isn't right.

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

                  @Obsolesce said in What Are You Doing Right Now:

                  But I'm sure most admins have better things to do than to manually pull the uptime of each device in the terminal individually. No idea why that's even a discussion. If you are doing that, something already isn't right.

                  Well, in BASH it is a one liner to almost instantly get it from tons of machines. It's actually a pretty common task. In Windows, if you want the same report, it is very doable, but not quite as transparent.

                  But if you are logging into machines at all, then uptime remains a continuous thing you want.

                  ObsolesceO 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:

                    But I'm sure most admins have better things to do than to manually pull the uptime of each device in the terminal individually. No idea why that's even a discussion. If you are doing that, something already isn't right.

                    Well, in BASH it is a one liner to almost instantly get it from tons of machines. It's actually a pretty common task. In Windows, if you want the same report, it is very doable, but not quite as transparent.

                    But if you are logging into machines at all, then uptime remains a continuous thing you want.

                    Bash was designed to be THE interface to manage a Linux system. So yes, it was designed to manage the system with small simple commands that you use all day.

                    This want the case with PowerShell. Windows went a different direction. If you want a simple CLI with simple commands, use CMD. If you want a serious and powerful scripting language for Windows, use PowerShell. Nothing is better than that for Windows.

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

                      @Obsolesce said in What Are You Doing Right Now:

                      This want the case with PowerShell. Windows went a different direction. If you want a simple CLI with simple commands, use CMD. If you want a serious and powerful scripting language for Windows, use PowerShell. Nothing is better than that for Windows.

                      I don't agree here. CMD was simply left to languish. MS made it really, really clear that PS was the absolute final word in tooling for managing Windows. They stated this over and over again. And unlike Bash which was just a generic system that predated linux by decades, PS was custom built for this one purpose.

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

                        Steaming some veggies for me. Heating up some soup for Liesl.

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

                          Installing the latest Bash for Windows from MS to see how well it works.

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

                            @scottalanmiller said in What Are You Doing Right Now:

                            Installing the latest Bash for Windows from MS to see how well it works.

                            Not great. There's too much behind the scenes going on to make it anything you'd use outside of Dev or testing.

                            It's not apples to apples.

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

                              @Obsolesce takes forever to install, too.

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

                                @Obsolesce it has the uptime command, but because of some screwiness, it reports the time that the shell has been running and does not report the kernel run time. So the info from it is bad. In this day and age to have utilities report things like uptime wrong is pretty bad.

                                1 Reply Last reply Reply Quote 0
                                • EddieJenningsE
                                  EddieJennings
                                  last edited by

                                  Learning how to deal with this

                                  alt text

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

                                    Video gaming with Liesl.

                                    1 Reply Last reply Reply Quote 0
                                    • EddieJenningsE
                                      EddieJennings
                                      last edited by

                                      Funtimes with mp4 videos >(

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

                                        Doing Ubiquiti updates through UNMS.

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

                                          The kids are making some worms in dirt Jello pudding thing.

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

                                            20190408_231800.jpg

                                            ObsolesceO 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3547
                                            • 3548
                                            • 3549
                                            • 3550
                                            • 3551
                                            • 4443
                                            • 4444
                                            • 3549 / 4444
                                            • First post
                                              Last post