You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve the description of Get-Content -Wait #2886
-Wait
Waits for the cmdlet to get the content before returning the command prompt. While waiting, Get-Content checks the file once each second until you interrupt it, such as by pressing CTRL+C.
This description could stand improvement along the lines of:
-Wait keeps the file open after all existing lines have been output and outputs new lines as they are being appended to it.
While waiting, Get-Content checks the file once each second until you interrupt it, such as by pressing CTRL+C.
Waiting also ends if the file gets deleted, in which case a non-terminating error is reported. -Wait cannot be combined with -Raw.
Activity
sdwheeler commentedon Sep 7, 2018
Bobby Reed (@bobbytreed) See also #2000 and check that the encoding values have been updated for this article.
Closes MicrosoftDocs#2187 , MicrosoftDocs#2697 , MicrosoftDocs#2886 -…
Closes #2187 , #2697 , #2886 - rewrites the Get-Content help. (#2893)