Microsoft
Software
Hardware
Network
Question : Scripting help using LAST command
I'm trying to write a script that will output the login information for the last week (7 days). It doesn't look like there are too many options for this using the built-in switches with LAST. Was thinking I would probably have to GREP the output I receive but how would you specify to go back 7 days. I think it would especially get confusing when you are at the begining of the month and your 7 day query would flow into the previous month. Any help would be appreciated.
Thanks
Answer : Scripting help using LAST command
It's a filter:
last | script.pl
where script.pl is the name of the above script.
Random Solutions
Do I need to run setup /ps and setup prepareAD if I am installing Excahnge 2010 into a an Excahnge 2007 organization? I insert the xch2010 on the new server and run teh comands there or on the D
Hide/Unhide Objects through VBA
Symantec Corporate ver. 8, antivirus server service will not start
getting null
Server 2008 R2 - Can't connect to a remote app through rdweb
How do I make a copy of a Sharepoint and move it to a virtual test environment on the domain?
Batch file to copy folders with a certain name
Use of PRINT statement
Commit Data on lost focus
IIS 7 Handler Mappings