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

    Free equivalent of Hyena

    Scheduled Pinned Locked Moved IT Discussion
    powershellhyena
    20 Posts 6 Posters 916 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 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
      • scottalanmillerS
        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.

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

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

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