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

    Free equivalent of Hyena

    Scheduled Pinned Locked Moved IT Discussion
    powershellhyena
    20 Posts 6 Posters 936 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.
    • jmooreJ
      jmoore @scottalanmiller
      last edited by

      @scottalanmiller makes sense

      1 Reply Last reply Reply Quote 0
      • siringoS
        siringo
        last edited by

        Thank you all for your great help & suggestions.

        I think I'll look into the wiki idea and start documenting things a bit better with a view to creating a PS repository.

        Thanks folks.

        scottalanmillerS 1 Reply Last reply Reply Quote 1
        • siringoS
          siringo @dafyre
          last edited by

          @dafyre said in Free equivalent of Hyena:

          @siringo said in Free equivalent of Hyena:

          Needed some powershell commands the other day to get last this and that dates and times and stumbled across Hyena. That's been around for 100 years so I used it and found it quite useful.

          I'm not against paying for useful stuff, but $US300+ that'll never happen.

          Anyone know of a free equivalent / alternative?

          I know powershell can do almost everything, but there's no way I'm going to remember this command for that etc etc.

          With thanks.

          What are you looking to do? An example for us could be helpful.

          Well maybe I can kick off my PS repository here?

          I was wanting to find out the date of the last time an OU of PCs authenticated into / logged into AD.

          I was also trying to find out the last time all users in an OU logged into AD.

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

            @siringo said in Free equivalent of Hyena:

            Thank you all for your great help & suggestions.

            I think I'll look into the wiki idea and start documenting things a bit better with a view to creating a PS repository.

            Thanks folks.

            If you were making custom stuff, GitLab is good, too.

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

              @siringo said in Free equivalent of Hyena:

              @dafyre said in Free equivalent of Hyena:

              @siringo said in Free equivalent of Hyena:

              Needed some powershell commands the other day to get last this and that dates and times and stumbled across Hyena. That's been around for 100 years so I used it and found it quite useful.

              I'm not against paying for useful stuff, but $US300+ that'll never happen.

              Anyone know of a free equivalent / alternative?

              I know powershell can do almost everything, but there's no way I'm going to remember this command for that etc etc.

              With thanks.

              What are you looking to do? An example for us could be helpful.

              Well maybe I can kick off my PS repository here?

              I was wanting to find out the date of the last time an OU of PCs authenticated into / logged into AD.

              I was also trying to find out the last time all users in an OU logged into AD.

              Check out the get-adcomputer Powershell command... for the first one, and then the
              get-aduser for teh second one.

              import-module activedirectory
              $mycomputers=get-adcomputer -filter * -Properties * -SearchBase "OU=LAB,OU=Servers,DC=MyDomain,DC=LOCAL" -server "mydomain.local" -credential (get-credential)
              
              $mycomputers|foreach {
                  $computerName=$_.Name
                  $lastLogon=$_.LastLogonDate
                  write-host "$computerName, $lastLogon"
              }
              

              Will that get you pointed in the right direction?

              siringoS 1 Reply Last reply Reply Quote 0
              • siringoS
                siringo @dafyre
                last edited by

                @dafyre said in Free equivalent of Hyena:

                @siringo said in Free equivalent of Hyena:

                @dafyre said in Free equivalent of Hyena:

                @siringo said in Free equivalent of Hyena:

                Needed some powershell commands the other day to get last this and that dates and times and stumbled across Hyena. That's been around for 100 years so I used it and found it quite useful.

                I'm not against paying for useful stuff, but $US300+ that'll never happen.

                Anyone know of a free equivalent / alternative?

                I know powershell can do almost everything, but there's no way I'm going to remember this command for that etc etc.

                With thanks.

                What are you looking to do? An example for us could be helpful.

                Well maybe I can kick off my PS repository here?

                I was wanting to find out the date of the last time an OU of PCs authenticated into / logged into AD.

                I was also trying to find out the last time all users in an OU logged into AD.

                Check out the get-adcomputer Powershell command... for the first one, and then the
                get-aduser for teh second one.

                import-module activedirectory
                $mycomputers=get-adcomputer -filter * -Properties * -SearchBase "OU=LAB,OU=Servers,DC=MyDomain,DC=LOCAL" -server "mydomain.local" -credential (get-credential)
                
                $mycomputers|foreach {
                    $computerName=$_.Name
                    $lastLogon=$_.LastLogonDate
                    write-host "$computerName, $lastLogon"
                }
                

                Will that get you pointed in the right direction?

                Thanks @dafyre much appreciated.

                What I do need is a command to get the creation date for all user accounts in an OU. Any help with that would be appreciated.

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

                  @siringo said in Free equivalent of Hyena:

                  @dafyre said in Free equivalent of Hyena:

                  @siringo said in Free equivalent of Hyena:

                  @dafyre said in Free equivalent of Hyena:

                  @siringo said in Free equivalent of Hyena:

                  Needed some powershell commands the other day to get last this and that dates and times and stumbled across Hyena. That's been around for 100 years so I used it and found it quite useful.

                  I'm not against paying for useful stuff, but $US300+ that'll never happen.

                  Anyone know of a free equivalent / alternative?

                  I know powershell can do almost everything, but there's no way I'm going to remember this command for that etc etc.

                  With thanks.

                  What are you looking to do? An example for us could be helpful.

                  Well maybe I can kick off my PS repository here?

                  I was wanting to find out the date of the last time an OU of PCs authenticated into / logged into AD.

                  I was also trying to find out the last time all users in an OU logged into AD.

                  Check out the get-adcomputer Powershell command... for the first one, and then the
                  get-aduser for teh second one.

                  import-module activedirectory
                  $mycomputers=get-adcomputer -filter * -Properties * -SearchBase "OU=LAB,OU=Servers,DC=MyDomain,DC=LOCAL" -server "mydomain.local" -credential (get-credential)
                  
                  $mycomputers|foreach {
                      $computerName=$_.Name
                      $lastLogon=$_.LastLogonDate
                      write-host "$computerName, $lastLogon"
                  }
                  

                  Will that get you pointed in the right direction?

                  Thanks @dafyre much appreciated.

                  What I do need is a command to get the creation date for all user accounts in an OU. Any help with that would be appreciated.

                  Use my code above as a template for that...

                  $myUser=get-aduser -domain="mydomain.local" samaccountname -Properties * -credential (get-credential)
                  $myUser|gm|more
                  

                  That will show you all of the methods & properties of the $myUser object... Creation date is in there somewhere. I forget what it is called.

                  1 Reply Last reply Reply Quote 1
                  • IRJI
                    IRJ
                    last edited by

                    https://gallery.technet.microsoft.com/office/Active-Directory-Audit-7754a877

                    siringoS dafyreD 2 Replies Last reply Reply Quote 1
                    • siringoS
                      siringo @IRJ
                      last edited by

                      @IRJ said in Free equivalent of Hyena:

                      https://gallery.technet.microsoft.com/office/Active-Directory-Audit-7754a877

                      Thanks @IRJ I'll check that out.

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

                        @IRJ said in Free equivalent of Hyena:

                        https://gallery.technet.microsoft.com/office/Active-Directory-Audit-7754a877

                        That looks pretty cool!

                        1 Reply Last reply Reply Quote 2
                        • 1 / 1
                        • First post
                          Last post