Navigation

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

    Free equivalent of Hyena

    IT Discussion
    hyena powershell
    6
    20
    369
    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.
    • siringo
      siringo last edited by scottalanmiller

      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.

      IRJ dafyre scottalanmiller 3 Replies Last reply Reply Quote 1
      • IRJ
        IRJ @siringo last edited by

        @siringo

        Some tools are free, and some are not.

        http://www.cjwdev.com/Software.html

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

          @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.

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

            I assume that this is the Hyena in question.

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

              @scottalanmiller said in Free equivalent of Hyena:

              I assume that this is the Hyena in question.

              What a dated looking website.

              @siringo why not just create scripts that perform the individual functions you need?

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

                @siringo said in Free equivalent of Hyena:

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

                You can get the PowerShell commands that you want, and put them into a really simple "ToC" script that just lists the functions that you have, and lets you pick a number to execute them or something.

                Or store them in a folder with easy to understand names.

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

                  @scottalanmiller This is what I do. I don't use powershell all that much and certainly not at an advanced level so I document everything. I just comment out areas that I don't need at the time and read over the script before I need to do something to make sure I am not forgetting something.

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

                    Another option is finding scripts that you like and popping them into a wiki. If they are short, this works well (especially one liners or such.) Really easy to use them wherever, even on machines that don't have access to a script repo, or via tools like ScreenConnect.

                    jmoore 1 Reply Last reply Reply Quote 1
                    • jmoore
                      jmoore @scottalanmiller last edited by

                      @scottalanmiller I should do this in a section on my website. That way I always have access when not at work lol.

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

                        @jmoore said in Free equivalent of Hyena:

                        @scottalanmiller I should do this in a section on my website. That way I always have access when not at work lol.

                        We often do this, works better for when you have multiple clients.

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

                          @scottalanmiller makes sense

                          1 Reply Last reply Reply Quote 0
                          • siringo
                            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.

                            scottalanmiller 1 Reply Last reply Reply Quote 1
                            • siringo
                              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.

                              dafyre 1 Reply Last reply Reply Quote 0
                              • scottalanmiller
                                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
                                • dafyre
                                  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?

                                  siringo 1 Reply Last reply Reply Quote 0
                                  • siringo
                                    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.

                                    dafyre 1 Reply Last reply Reply Quote 0
                                    • dafyre
                                      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
                                      • IRJ
                                        IRJ last edited by

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

                                        siringo dafyre 2 Replies Last reply Reply Quote 1
                                        • siringo
                                          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
                                          • dafyre
                                            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
                                            • First post
                                              Last post