Free equivalent of Hyena
-
@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!