diff --git a/profile.ps1 b/profile.ps1 index fc8bfb2..ce5a68c 100644 --- a/profile.ps1 +++ b/profile.ps1 @@ -120,8 +120,12 @@ function watch { while ($true) { $o = Invoke-Command -ScriptBlock $ScriptBlock + Clear-Host + 'Watching {'+$ScriptBlock+'} '+(Get-Date) + '' $o + Start-Sleep -Seconds $n } }