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.
    • ObsolesceO
      Obsolesce @EddieJennings
      last edited by

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

      Somtimes I love PowerShell

      0_1535123083491_e88d64c3-d820-4dd6-8fbb-f5fc7a7a717d-image.png

      Apparently -erroraction doesn't work with get-aduser and such... I use a try/catch block in my code.

      A little Googling and testing returned this.
      Get-ADUser -filter { samaccountname -eq $SAM }
      if $SAM has a username that doesn't exist, there's no error message. Just an empty value, which I can then use in the forthcoming if statement.

      what are you trying to do?

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

        @obsolesce said in What Are You Doing Right Now:

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

        Somtimes I love PowerShell

        0_1535123083491_e88d64c3-d820-4dd6-8fbb-f5fc7a7a717d-image.png

        Apparently -erroraction doesn't work with get-aduser and such... I use a try/catch block in my code.

        A little Googling and testing returned this.
        Get-ADUser -filter { samaccountname -eq $SAM }
        if $SAM has a username that doesn't exist, there's no error message. Just an empty value, which I can then use in the forthcoming if statement.

        what are you trying to do?

        Make AD accounts form a CSV of names, some of which already have accounts. As a challenge I wanted a programmatic way of ignoring those that exist rather than seeing errors that X account exists.

        I think I’ve got it figured out. 🙂

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

          Getting closer to the end of the day ( at least that's what I am telling myself)
          Have a good weekend everyone.

          momurdaM 1 Reply Last reply Reply Quote 1
          • momurdaM
            momurda @WrCombs
            last edited by

            @wrcombs Yes I might be taking a half day. It almost noon here, and is Friday.

            WrCombsW 1 Reply Last reply Reply Quote 1
            • jmooreJ
              jmoore
              last edited by

              pizza for lunch. super supreme hand tossed crust

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

                @momurda said in What Are You Doing Right Now:

                @wrcombs Yes I might be taking a half day. It almost noon here, and is Friday.

                It's 1:30pm here, Cant take a half day sadly.

                ObsolesceO 1 Reply Last reply Reply Quote 0
                • PenguinWranglerP
                  PenguinWrangler
                  last edited by

                  It is 5 O'clock somewhere!

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

                    @wrcombs said in What Are You Doing Right Now:

                    @momurda said in What Are You Doing Right Now:

                    @wrcombs Yes I might be taking a half day. It almost noon here, and is Friday.

                    It's 1:30pm here, Cant take a half day sadly.

                    Only lunch time for me.

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

                      Just got a call : " My Pc doesnt have a restart option."
                      Looking at it.. Nope! no restart option in the start menu .

                      this is Windows 7 Pro,,
                      The site did say they are using 2 different towers and one monitor using SCrlk to change between the two..

                      Any Ideas on why? or how to get them back?

                      Had to use Shutdown -r to restart today.

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

                        @wrcombs said in What Are You Doing Right Now:

                        Just got a call : " My Pc doesnt have a restart option."
                        Looking at it.. Nope! no restart option in the start menu .

                        this is Windows 7 Pro,,
                        The site did say they are using 2 different towers and one monitor using SCrlk to change between the two..

                        Any Ideas on why? or how to get them back?

                        Had to use Shutdown -r to restart today.

                        Looking through Start menu properties :
                        Power button option: Log off ( Grayed out as well, Can not change) .....

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

                          Looks like I'm going to a concert in Denton tonight. Lord help me.

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

                            Holy cow what a busy afternoon.

                            1 Reply Last reply Reply Quote 0
                            • black3dynamiteB
                              black3dynamite
                              last edited by

                              At a back to school Carnival hosted at my kid school.

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

                                Good morning, all!

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

                                  Just getting back to it, had a local rock concert last night at a venue in Denton that is closing.

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

                                    Getting tasks done before vacation.

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

                                      Brunch at Hartsfield Jackson airport

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

                                        @eddiejennings said in What Are You Doing Right Now:

                                        Brunch at Hartsfield Jackson airport

                                        Eww, not a fun airport to deal with.

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

                                          @eddiejennings which Houston airport are you going into?

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

                                            Dealing with a Verizon Outage for a client, since Friday and finally got Verizon to fix it.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3109
                                            • 3110
                                            • 3111
                                            • 3112
                                            • 3113
                                            • 4443
                                            • 4444
                                            • 3111 / 4444
                                            • First post
                                              Last post