December 31st, 2012

PowerTip: Pause a PowerShell Script

Summary: Learn how to pause a Windows PowerShell script.

Hey, Scripting Guy! Question How can I pause a Windows PowerShell script?

Hey, Scripting Guy! Answer In Windows PowerShell 3.0 use the pause function, as shown here.

23:10 C:\> pause

Press Enter to continue…:

23:11 C:\>

Author

0 comments

Discussion are closed.