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

    What Are You Doing Right Now

    Scheduled Pinned Locked Moved Water Closet
    time waster
    88.9k Posts 285 Posters 42.7m Views
    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.
    • ObsolesceO
      Obsolesce @dafyre
      last edited by

      @dafyre 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:

      @dafyre 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:

      @EddieJennings said in What Are You Doing Right Now:

      This will sound super-n00bish, but oh well. $args in PowerShell has changed my life. That is all. Continue with your regularly scheduled ML trolling, lurking, and posting.

      How so?

      I really only ever used it to check for extra arguments/parameters in my functions / scripts to output an error if the $args.count is higher than it should be, for example.

      What are you using it for?

      I'm working on a script right now that will make use of start-job and using $args lets me pass the value of a variable between scopes. In this case, I'd be passing a value from earlier in the script into the start-job scriptblock.

      Man, it took me forever to figure out how to do something similar!

      You could just set the -scope of the variable to global...

      I've never used -scope when defining a variable. I'll have to try that out. 🙂

      Me either, lol. Time to research that tip.

      That's if you use the Set-Variable cmdlet, where you would use -Scope.

      You can also use $<scope>:variable. For example:

      $script:userName = "john.smith"

      $global:userName = "john.smith"

      1 Reply Last reply Reply Quote 0
      • travisdh1T
        travisdh1 @scottalanmiller
        last edited by

        @scottalanmiller said in What Are You Doing Right Now:

        Cooking second dinner for the kids.

        Is that like Hobbits? What about 3rd breakfast, 2nd lunch, and tea?

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

          Goodm orning.

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

            @travisdh1 said in What Are You Doing Right Now:

            @scottalanmiller said in What Are You Doing Right Now:

            Cooking second dinner for the kids.

            Is that like Hobbits? What about 3rd breakfast, 2nd lunch, and tea?

            My kids eat three full meals after 7PM!

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

              Thinking through an improvement on a script. 🙂

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

                Was just connected into a site and the display settings changed.
                That was fun . getting those to revert back .

                1 Reply Last reply Reply Quote 0
                • travisdh1T
                  travisdh1 @scottalanmiller
                  last edited by

                  @scottalanmiller said in What Are You Doing Right Now:

                  @travisdh1 said in What Are You Doing Right Now:

                  @scottalanmiller said in What Are You Doing Right Now:

                  Cooking second dinner for the kids.

                  Is that like Hobbits? What about 3rd breakfast, 2nd lunch, and tea?

                  My kids eat three full meals after 7PM!

                  I knewsss ittss, @scottalanmiller is raisings hobbitsies!

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

                    /sigh.
                    This entire day/week/year has been the best and worse i've seen.
                    i have to make some changes though.

                    1 Reply Last reply Reply Quote 0
                    • hobbit666H
                      hobbit666 @hobbit666
                      last edited by

                      @hobbit666 said in What Are You Doing Right Now:

                      @hobbit666 said in What Are You Doing Right Now:

                      Just bought a Refurb Dell T7500, 2x Hex Core, 64GB RAM, for a test Lab

                      Just got the shipping email. Should be with me tomorrow.

                      It's arrived........... Should of checked the size. It's a little big 😄

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

                        AT&T just skipped their appointment yesterday. Just didn't show up.

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

                          well.. Calls aren't really coming in quite yet.
                          No projects have came in yet.
                          Drinking coffee number 3 waiting for something to do to come rolling in, Been here since 730 this morning.
                          Ready to go home - Like for reals

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

                            Busy morning here.

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

                              AT&T land lines down for days, not even bothering to service them!

                              NEVER USE LAND LINES, THERE IS NO FAILOVER.

                              dafyreD 1 Reply Last reply Reply Quote 0
                              • travisdh1T
                                travisdh1 @scottalanmiller
                                last edited by

                                @scottalanmiller said in What Are You Doing Right Now:

                                AT&T just skipped their appointment yesterday. Just didn't show up.

                                Guess they really don't care, and aren't afraid to let everyone know they don't.

                                1 Reply Last reply Reply Quote 0
                                • dafyreD
                                  dafyre @scottalanmiller
                                  last edited by

                                  @scottalanmiller said in What Are You Doing Right Now:

                                  AT&T land lines down for days, not even bothering to service them!

                                  NEVER USE LAND LINES, THERE IS NO FAILOVER.

                                  So.... Never use AT & T?

                                  WrCombsW scottalanmillerS 2 Replies Last reply Reply Quote 0
                                  • WrCombsW
                                    WrCombs @dafyre
                                    last edited by

                                    @dafyre said in What Are You Doing Right Now:

                                    @scottalanmiller said in What Are You Doing Right Now:

                                    AT&T land lines down for days, not even bothering to service them!

                                    NEVER USE LAND LINES, THERE IS NO FAILOVER.

                                    So.... Never use AT & T?

                                    like never ever

                                    1 Reply Last reply Reply Quote 0
                                    • jmooreJ
                                      jmoore @hobbit666
                                      last edited by

                                      @hobbit666 Oh fun!

                                      1 Reply Last reply Reply Quote 0
                                      • jmooreJ
                                        jmoore @WrCombs
                                        last edited by

                                        @WrCombs i hear you. Good luck

                                        WrCombsW travisdh1T 2 Replies Last reply Reply Quote 0
                                        • WrCombsW
                                          WrCombs @jmoore
                                          last edited by

                                          @jmoore said in What Are You Doing Right Now:

                                          @WrCombs i hear you. Good luck

                                          Thanks, It's a rough day.
                                          Coffee number 3 went down . Think i might take an early lunch today and just run with it.

                                          jmooreJ 1 Reply Last reply Reply Quote 0
                                          • jmooreJ
                                            jmoore @WrCombs
                                            last edited by

                                            @WrCombs I'm taking an early lunch too. got stuck at the museum fixing issues for 2.5 hours. I went there for 3 but literally 20 issues later I was able to escape lol.

                                            WrCombsW 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3534
                                            • 3535
                                            • 3536
                                            • 3537
                                            • 3538
                                            • 4443
                                            • 4444
                                            • 3536 / 4444
                                            • First post
                                              Last post