$path="$HOMEDesktopNote.txt" "test content"|out-file $path notepad $path get-content $path -Tail 0 -Wait | out-gridview -Title $path