Hi'
I want to create a CSV-file with the users and there last true logon (timestamp)
I know that Exporter and Hyena is the best tool, but I can't use them in a script (or can I?)
I can use DUMPSEC, and in dumpsec gui I can create the report as I want.
User,lastlogon
In DUMPSEC Command line I use
DumpSec /computer=domaincontroler /rpt=users /showtruelastlogon /saveas=csv /noheader /outfile=users.txt
But that takes nearly everything on the user and take a long time to run.
Again I only need user and lastlongon.
Can I do something else?
I want to create a CSV-file with the users and there last true logon (timestamp)
I know that Exporter and Hyena is the best tool, but I can't use them in a script (or can I?)
I can use DUMPSEC, and in dumpsec gui I can create the report as I want.
User,lastlogon
In DUMPSEC Command line I use
DumpSec /computer=domaincontroler /rpt=users /showtruelastlogon /saveas=csv /noheader /outfile=users.txt
But that takes nearly everything on the user and take a long time to run.
Again I only need user and lastlongon.
Can I do something else?
Comment