commands detail - t

    tail -f

    So you can do this:

    1. get-process | tee c:\temp\test_tee.txt

    …to both get a list of processes on your screen and get that output saved into the file in c:\temp

    time

    So, in bash you would do this:

    ….and get all the egrep output, then

    1. measure-command {select-string ORA- *.sql}

    …and get…

    …you don’t get the ‘user CPU’ time and ‘system CPU’ time, but you do get the added bonus of seeing how long the command took rendered as a fraction of a day!

    touch - update the modified date

    1. set-itemproperty -path c:\temp\new_empty_file.dat -name LastWriteTime -value $(get-date)

    I got this from a comment by on the Lab49 Blog. Doug Finke shares in a later comment on the same post that fully implements the linux command.