Created
November 11, 2013 09:37
-
-
Save jhorsman/7410547 to your computer and use it in GitHub Desktop.
How to program a "Press any key to continue" in PowerShell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Write-Host "This is a test..." | |
Write-Host | |
Write-Host "Press any key to continue" | |
$void = $host.UI.RawUI.ReadKey("NoEcho,IncludeKeyDown") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment