Pause
In the Newsgroup Microsoft.Public.Windows.PowerShell, BJ Stigall asked what the equivalent of the batch file PAUSE function was in PowerShell. There were lots of good answers that came close but I think the one below comes the closest (and a little bit better). function Pause ($Message="Press any key to continue..."){Write-Host -NoNewLine $Messag...