Microsoft PowerShell

From The World according to Vissie
Jump to navigation Jump to search

Ja ja ja, I know, this is Windows stuff! I am forced to run Windows at work. So lets make the best of it I guess.

Tail

A Linux like tail alias. Place this in your profile file

vim: ~\WindowsPowerShell\Microsoft.PowerShell_profile.ps1
function tail ($File)
{ 
   Get-Content -Path $File -Wait 
}