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.
    • DustinB3403D
      DustinB3403 @EddieJennings
      last edited by

      @EddieJennings said in What Are You Doing Right Now:

      @DustinB3403 said in What Are You Doing Right Now:

      @EddieJennings said in What Are You Doing Right Now:

      If sed existed in Windows, that would make my current task much easier.

      http://gnuwin32.sourceforge.net/packages/sed.htm

      Nice. If I could only install that on every server we have 😄

      What is stopping you, you have the root creds right?

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

        @DustinB3403 said in What Are You Doing Right Now:

        @EddieJennings said in What Are You Doing Right Now:

        @DustinB3403 said in What Are You Doing Right Now:

        @EddieJennings said in What Are You Doing Right Now:

        If sed existed in Windows, that would make my current task much easier.

        http://gnuwin32.sourceforge.net/packages/sed.htm

        Nice. If I could only install that on every server we have 😄

        What is stopping you, you have the root creds right?

        Bureaucracy and its change management.

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

          @EddieJennings said in What Are You Doing Right Now:

          If sed existed in Windows, that would make my current task much easier.

          Doesn't really need it. You have PowerShell to work with objects rather than sorting through garbled text output.

          What are you trying to do?

          EddieJenningsE scottalanmillerS 2 Replies Last reply Reply Quote -1
          • black3dynamiteB
            black3dynamite @EddieJennings
            last edited by

            @EddieJennings said in What Are You Doing Right Now:

            @DustinB3403 said in What Are You Doing Right Now:

            @EddieJennings said in What Are You Doing Right Now:

            If sed existed in Windows, that would make my current task much easier.

            http://gnuwin32.sourceforge.net/packages/sed.htm

            Nice. If I could only install that on every server we have 😄

            Are you trying to do something like this?
            https://www.kittell.net/code/powershell-unix-sed-equivalent-change-text-file/

            1 Reply Last reply Reply Quote 0
            • AdamFA
              AdamF
              last edited by

              Thinking about how not having to use Putty any more, and being able to SSH into my *NIX boxes right from Powershell is so nice.

              scottalanmillerS 1 Reply Last reply Reply Quote 2
              • EddieJenningsE
                EddieJennings @Obsolesce
                last edited by

                @Obsolesce said in What Are You Doing Right Now:

                @EddieJennings said in What Are You Doing Right Now:

                If sed existed in Windows, that would make my current task much easier.

                Doesn't really need it. You have PowerShell to work with objects rather than sorting through garbled text output.

                What are you trying to do?

                Problem is a piece of this can't work with Powershell (deals with Cisco AMP's sfc.exe). Where I'd want something like sed is for this.

                1. Write two entries to the host file. This is easy enough: Echo text and redirect to the hosts file.
                2. Do the stuff needed for AMP (which can't be done with PowerShell due to an AMP limitation)
                3. Once stuff is done, find the two entries made from step 1 and comment them out.
                scottalanmillerS 1 Reply Last reply Reply Quote 1
                • scottalanmillerS
                  scottalanmiller @AdamF
                  last edited by

                  @fuznutz04 said in What Are You Doing Right Now:

                  Thinking about how not having to use Putty any more, and being able to SSH into my *NIX boxes right from Powershell is so nice.

                  That's not PowerShell enabling that. That's just that SSH is installed now. Works with anything on Windows, cmd, PS, Bash.... anything.

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

                    @EddieJennings said in What Are You Doing Right Now:

                    @Obsolesce said in What Are You Doing Right Now:

                    @EddieJennings said in What Are You Doing Right Now:

                    If sed existed in Windows, that would make my current task much easier.

                    Doesn't really need it. You have PowerShell to work with objects rather than sorting through garbled text output.

                    What are you trying to do?

                    Problem is a piece of this can't work with Powershell (deals with Cisco AMP's sfc.exe). Where I'd want something like sed is for this.

                    1. Write two entries to the host file. This is easy enough: Echo text and redirect to the hosts file.
                    2. Do the stuff needed for AMP (which can't be done with PowerShell due to an AMP limitation)
                    3. Once stuff is done, find the two entries made from step 1 and comment them out.

                    This is a big deal. All other systems work transparently with one another, local and remote. The object system in PowerShell breaks that in really problematic ways.

                    1 Reply Last reply Reply Quote 0
                    • valentinaV
                      valentina
                      last edited by

                      Ughhhh I was waiting for my 2 quesadillas hungry as hell and a kid threw up right next to me!!!!! I'm not eating anymore

                      gjacobseG LilAngL 2 Replies Last reply Reply Quote 1
                      • gjacobseG
                        gjacobse @EddieJennings
                        last edited by

                        @EddieJennings said in What Are You Doing Right Now:

                        Just passed off the on-call shackle (phone) for the next five weeks 😄

                        Lucky - we pass it around at the start of each week. could be a moot point though.. sigh.

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

                          @Obsolesce said in What Are You Doing Right Now:

                          @EddieJennings said in What Are You Doing Right Now:

                          If sed existed in Windows, that would make my current task much easier.

                          Doesn't really need it. You have PowerShell to work with objects rather than sorting through garbled text output.

                          What are you trying to do?

                          Still need it, PS doesn't address the things that we almost all need to do, a lot of the time. Objects sound cool, and sometimes are, but in the real world, often don't cut it when you just need to process text. PS makes "what you see" very different from "what you get." Something we've always had in all other platforms. It's a huge functionality loss that you have to know all kinds of secret things going on in the background that aren't visible, and what is visible is often "fake".

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

                            @EddieJennings said in What Are You Doing Right Now:

                            @DustinB3403 said in What Are You Doing Right Now:

                            @EddieJennings said in What Are You Doing Right Now:

                            If sed existed in Windows, that would make my current task much easier.

                            http://gnuwin32.sourceforge.net/packages/sed.htm

                            Nice. If I could only install that on every server we have 😄

                            https://chocolatey.org/packages/sed

                            choco install sed -y
                            
                            black3dynamiteB 1 Reply Last reply Reply Quote 1
                            • gjacobseG
                              gjacobse @valentina
                              last edited by

                              @valentina said in What Are You Doing Right Now:

                              Ughhhh I was waiting for my 2 quesadillas hungry as hell and a kid threw up right next to me!!!!! I'm not eating anymore

                              ugh - send that table the bill...

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

                                @gjacobse right????

                                1 Reply Last reply Reply Quote 1
                                • AdamFA
                                  AdamF @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in What Are You Doing Right Now:

                                  @fuznutz04 said in What Are You Doing Right Now:

                                  Thinking about how not having to use Putty any more, and being able to SSH into my *NIX boxes right from Powershell is so nice.

                                  That's not PowerShell enabling that. That's just that SSH is installed now. Works with anything on Windows, cmd, PS, Bash.... anything.

                                  Well that's good to know. I'm just happy it is actually "built-in" now.

                                  1 Reply Last reply Reply Quote 0
                                  • gjacobseG
                                    gjacobse
                                    last edited by

                                    If I wasn't on call this week,.. I would be drinking all ready... sigh.

                                    107e75ff-049a-49a1-9d82-b926440590b5-image.png

                                    WrCombsW 1 Reply Last reply Reply Quote 1
                                    • WrCombsW
                                      WrCombs @gjacobse
                                      last edited by

                                      @gjacobse said in What Are You Doing Right Now:

                                      If I wasn't on call this week,.. I would be drinking all ready... sigh.

                                      107e75ff-049a-49a1-9d82-b926440590b5-image.png

                                      dilly dilly

                                      1 Reply Last reply Reply Quote 0
                                      • gjacobseG
                                        gjacobse
                                        last edited by gjacobse

                                        I got a deal on a nice boat.

                                        This is what I ended up with

                                        4b27c4ab-4d84-42fd-a735-49ffb17587d8-image.png

                                        They said,.. a LITTLE water damage.

                                        (disclaimer: no, I didn't by a boat. and if I had, it would have had a label MATCH BOX on it.

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

                                          @gjacobse said in What Are You Doing Right Now:

                                          I got a deal on a nice boat.

                                          This is what I ended up with

                                          4b27c4ab-4d84-42fd-a735-49ffb17587d8-image.png

                                          They said,.. a LITTLE water damage.

                                          (disclaimer: no, I didn't by a boat. and if I had, it would have had a label MATCH BOX on it.

                                          metaphor for the current employment?

                                          gjacobseG 1 Reply Last reply Reply Quote 0
                                          • gjacobseG
                                            gjacobse @WrCombs
                                            last edited by

                                            @WrCombs said in What Are You Doing Right Now:

                                            @gjacobse said in What Are You Doing Right Now:

                                            I got a deal on a nice boat.

                                            This is what I ended up with

                                            4b27c4ab-4d84-42fd-a735-49ffb17587d8-image.png

                                            They said,.. a LITTLE water damage.

                                            (disclaimer: no, I didn't by a boat. and if I had, it would have had a label MATCH BOX on it.

                                            metaphor for the current employment?

                                            lol - several things - but to be honest .. yea... very likely.

                                            WrCombsW 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3562
                                            • 3563
                                            • 3564
                                            • 3565
                                            • 3566
                                            • 4443
                                            • 4444
                                            • 3564 / 4444
                                            • First post
                                              Last post