powershell -command "Get-Content someFile.txt -wait"

Get-Content web.log -wait | where { $_ -match "ERROR" }

tail -n 50 -f whatever.log


myProgram.exe > mylog.txt & type mylog.txt

command > logfile 2>&1


taskkill /im calc.exe >nul 2>nul

taskkill /F /FI "IMAGENAME eq calc.exe"

taskkill /F /FI "IMAGENAME eq calc*.exe" 

tasklist /fi "imagename eq power*"
