powershell -Noninteractive -command Get-content -tail 7 dayfile.txt > dayfile_t.txt