Free equivalent of Hyena
-
@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?
-
@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.
-
@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.
-
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.
-
@scottalanmiller I should do this in a section on my website. That way I always have access when not at work lol.
-
@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.
-
@scottalanmiller makes sense
-
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.
-
@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.
-
@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.
-
@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?
-
@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.
-
@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.
-
-
@IRJ said in Free equivalent of Hyena:
https://gallery.technet.microsoft.com/office/Active-Directory-Audit-7754a877
Thanks @IRJ I'll check that out.
-
@IRJ said in Free equivalent of Hyena:
https://gallery.technet.microsoft.com/office/Active-Directory-Audit-7754a877
That looks pretty cool!